What about:
* If no project is loaded, and the previous save-as path is valid, use it instead of the home folder. Otherwise, use the home folder.
* If a project is loaded, don't use the previous save-as path unless it is a subdir of the project folder or the project folder is invalid. If the previous save-as path is also invalid, fallback to the home folder.