if (myStore.getModifiedRecords().length || myStore.getRemovedRecords().length) {
if (form.isDirty()) {