Add undo-tree