dropdowns for mode changing by tab