Detection can be done using oDocument.modified in JSX, but I am looking for notification/event from Indesign.
Is there any notification Indesign has in C++/JSX, such that as soon as there is any change in the document making its state dirty, a notification is raised?