Toast dialog and exit logic
Merge pull request #383 from SpiderOak/issue-382-toast-dialogs

Toast dialog and exit logic

Fixes #382.