How to get a onEvent when editor contents have been changed

In using the dhtmlXeditor with a “SAVE” button.

After SAVING, I would like any further changes to be flagged, so the user can be prompted to save again.

Is there a “onChange” and “onClose” for the editor ?

Unfortunately, there are no such built-in events.