Hey @xrafalx, thanks for sending further details and apologies for the delayed response.
I had to discuss it to our lead developer and according to him, the best option is to make a custom solution with JavaScript on that button – On click toggle the popup.
jQuery('.button-selector').on('click', function (event) {
event.preventDefault();
var $this = jQuery(this);
if ($this.hasClass('open')) {
$this.removeClass('open')
PUM.close(123);
} else {
$this.addClass('open');
PUM.open(123);
}
}
That said the menu appears to be outside the popup, so you could maybe get away with checking the close popup on overlay click option, as well.
Could you please try that and let us know if that works for you?
And, if you would like us to assist you further with your issue, you will need to escalate it directly to our HelpScout support desk. Check this link:?https://wppopupmaker.com/support/. Thank you.