The app used the window.close method to terminate. In general, let the user terminate the app. When you need to terminate ...