Added a cancel button

When quitting the application, the dialog box now has a cancel button so used can abort the action without minimizing to tray.