I tried to use EventHandler <DialogBoxShowingEventArgs> but the specified window is not intercepted in any way. In the log there is an entry about the event Jrn.PushButton "Modal, Hosted editing request, Dialog_Revit_CheckEditabilityGrants", "Close, IDOK".
What can Dialog_Revit_CheckEditabilityGrants mean and where can I use it?