Added confirm dialogs for quit application gestures

- MainWindow
- ServerWindow
- ConnectionDialog