Fixed bug where cancelling on save-as crashed the application.
Merge pull request #356 from n3wjack/master

Fixed bug where cancelling on save-as crashed the application.