we can quit the app by closing the window