My export operator modifies part of the scene before exporting, e. g. apply modifiers, fill holes in meshes. I have to be very careful to only save the scene before exporting. I'd like to prevent myself from accidencally saving the scene after the export.
Is there a way to undo everything the operator did?
Or another way, e. g. rename the scene? Mark it as un-saveable?