This can call closeDropdown().