If no file was selected, don't show dialog
Merge pull request #6 from horphoz/master

If no file was selected, don't show dialog