remove closewindow from window focus