Add new undo/redo commands to enable/disable selected nodes