Change the exit button to only close the window and not exit the app.