Show the save dialog before the compile dialog.
Handle the creation of a new file.