keep subwindow closed on startup