Added a callback WebBrowserComponent::windowCloseRequest()