CellML Annotation view: improve the setting of the modified state of a CellML file (closes #504).