undo also after a save