Fix for Safari redirection popup.