Dialog editor confirmation

Yesterday I spent 20min editing a dialog and accidently hit the escape button and lost everything. Could a confirmation message be added after changes are made when canceling out?

Something similar is when editing a command in command editor and click the OK button on the customize window. Again, the result is loss of any editing.

I propose a solution for the latter, in the form of pseudo code...

if (customize.btnOK == "clicked") 
	if (command.editor == "open") 


We'll add a confirmation message for the dialog editor in the next update.