Returns true if the Web SDK editor contains a diagram that has been modified.
.isDiagramDirty()
/* example assumes esdEditor is an initialized ESDWeb object */
if (esdEditor.isDiagramDirty()) {
alert('Diagram has been modified!');
} else {
alert('Diagram has not been modified!');
}