Do not crash when page opened using QWebPage::createWindow() shows JavaScript popups