added "value" check to addButtonClick JS

If you clicked on the "Add" button and the input was empty it was adding a blank row/option. I just added a check to see if the value was present.