Close create app window when create button clicked