Disables before unload confirm dialog