Fix dropdown behavior

@bigsley 

Here is what happened -- 
the first bug was that when you selected an item from the dropdown, the click would propagate and close the modal. I fixed this by preventing the click from propagating from the select component.

this caused a second bug: when a selection existed and the dropdown was not dropped-down, clicking on the select component to drop it down would cause the selectedItemView to swallow the click.

The solution to both bugs is just to check if the dropdown is dropped down; if it is, then we are in case 1, so we hide the dropdown and prevent propagation.