also ask when wm closes window