Hide dropdown when selection has been made