Fixed: Closing a window without destinations

Added an confirmation alert to confirm closing a window without having
any destinations searched for and added.