fixes an issue with the dialog asking if the user wants to erase an existing file.
fix #2