The usual Close and Exit items are part of the File menu with their common keyboard shortcuts of Ctl+W (close) and Ctl+Q (quit) respectively. Close will close the current document while Exit will exit from dia completely.