How to block pop-up ads
The simplest solution is to press Command+W to close the pop-up tab and return to previous tab. I use uBlock Origin as ad-blocker for my browser, I would suggest to you to use it too. Other more complex solution is to learn how to use uMatrix for blocking these annoyances.