disable drop down when list is empty