working select box for search window