only mark editor as active when a change has been made
Merge pull request #97 from dimagi/xpath-save

only mark editor as active when a change has been made