isn't there an onChange() notifier from the editor widget? It seems like tracking this manually is tedious. You may also want to set this very late because always comparing the full resource content can get expensive if the resource is large (think about something that has an embedded binary or is very long like KIM's questionnaire object)
Originally posted by @tigloo in #35 (comment)