attach dropdowns to search box