[PIR-833] Save dialog tries to save at wrong location when a file was selected
Merge pull request #550 from webdetails/PIR-833

[PIR-833] Save dialog tries to save at wrong location when a file was selected