Add undo/redo support for add/remove points