Add an extension hook to the getIsModifiedOnStage method