Add undo handle