adds error message when trying to add date that has already been added
now automatically select an added date in dropdown