add dropdown
hide dropdowns correctly on pressing enter