Close dropdown after selection has been made