close initial window when the app launches