dropdowns handle keyboard input in a more reliable way