fix(dropdown): close after selecting an item

Fixes #2130
Closes #2140