The lack of a function to set the modified state of a dobj to "unmodified" has repetitively caused us significant wasted development effort in our editor customizations and made our authors' use of the editor less responsive and convenient. In response to the lack of this, we've had to expend effort on extra customizations to force an auto pre-save of a document before expanding included files. There have been times when authors didn't want this presave to occur, but had to suffer with it because we can't continually badger other authors with a verification prompt every time this auto save action is needed.
Adequate background on this request can be found under the following to support cases:
Finally, if you can't find your way clear to implement this enhancement request, at least add a note to the existing documentation of the dobj_is_mod() function to explain that there is no programmatic way to simply mark a given xinclude as "not modified". Lack of clarity on this has caused me to waste days of time rummaging around through the editor documentation and experimenting with myriad ideas on how this might be accomplished.