Right now, these are 2 actions are separated, which can be very confusing and not consistent with other editors.
On one hand, the save action is integrated in the Collabora editor, as part of it's UI, and on the other the cancel button is outside the editor, on the right up corner, giving the impression that it would cancel the current edit without any save.

An improvement would be to have a close button integrated in the editor. This would act as a save and close, giving the option to save unsaved work.
This way, the current cancel action will be transformed into a close that notifies the use that unsaved work will be lost.
Right now, these are 2 actions are separated, which can be very confusing and not consistent with other editors.

On one hand, the
saveaction is integrated in the Collabora editor, as part of it's UI, and on the other thecancelbutton is outside the editor, on the right up corner, giving the impression that it would cancel the current edit without any save.An improvement would be to have a
closebutton integrated in the editor. This would act as asave and close, giving the option to save unsaved work.This way, the current
cancelaction will be transformed into aclosethat notifies the use that unsaved work will be lost.