Enhancement
(User-visible)
You can configure a form as a saveClosesDialog. This has the effect that the dialog in which the form is (potentially) located is closed when you click "Save". Typically, this is done in a dialog that is there for direct editing and not for displaying and perhaps editing an object. In this case, it feels extremely strange if the corresponding "Cancel" command leaves the dialog open and switches to view mode. Instead, Cancel should also close the dialog.