When adding nodeData, the current list of nodeData is checked in order
to avoid adding multiple instances of the same nodeData.
Added textbox, listbox, and button for adding new node.