How can I stop popups from resizing the window, hiding the toolbar and showing the status bar? It's super annoying if I happen to close my main window and there's a small popup hiding somewhere, because now when I open safari again I have to groom the small window into how it was before.