Enable undo history as a tree