TIL: In the macOS Save As dialogue, you can click on any name in the list of files to choose it for the new file.