On close of a sub application it doesn't exit the application but hides the window.