I use esri.dijit.editing.Editor and want to change the behaviour of the cross button in the edit dialog which appears when a new feature has been added. In particular, I don't want to create a new feature if the validation failed. So I tried to use onCancel, onClose, onHide events in the Editor and in the Editor's AttributeInspector. All these events don't arise when the edit dialog has been closed. I tried to find this cross button object in the Editor - but without success. Do you know the name of this button or another way to handle close event?