Notification function called whenever a database is about to be saved to a DXF file.
This function is called before the operation