docs: improve undo/redo documentation