Undo all changes except 'layer'