autofill undo/redo