Stopped popups from remaining open for all URLs.
Merge pull request #3 from ChrisTruncer/possible_alert_fix

Stopped popups from remaining open for all URLs.