Notification function called whenever an element is opened for modify OdDg::kForWrite.
The default implementation of this function does nothing. This function can be overridden in custom classes.