If I understand those buttons, you are duplicating the function. On the dialogs, the two buttons are basically what you want. "OK" is "Save and close the dialog", "Cancel" is "Close the dialog without saving the changes". For the editor, if you close it without first saving the changes, you will be prompted to "Save and quite", "Quit without saving" or "Cancel" (return to the editor).
How is what you are asking different to this?
|