Notification function called whenever a .dwg file is about to be opened.
This function is called before the operation.