Handle traywindow closed