enable undo and redo from the table.