Fix for opening 2 windows when a popup link is clicked on iPhone.