Fixed: undo and redo enabled when instance loaded and when switching between modes.