BUG:374536 Don't save the default directory for SaveAs file dialogs
The default folder for save as is taken from the path of the image.