I'm using the popup to show an optin form. When the user clicks on the 'submit' button a new tab opens in order to continue with the process.
The popup remains open though. I was wondering how can I have it close upon submission.
I have checked online, but none of the options worked.