+ detect from Python whether a document is modified, give option to suppress warning from SendMsgToActiveView