close search autocomplete box when a result is selected