#13 James -- making sure that confirm button adds the dispensing
#13 James -- making sure that confirm button dismisses the dialog