Added "Ask before closing the window" hook to window_before_close_hook