To end the edit session, select Close from the system pull-down menu. You see prompts for the file names of the files you want to save.
If you want to edit the same file the next time you use the editor, select Open from the File menu.