+ add undo when clearing history