refresh called only when $select.search is not empty
add close icon to cancel the selected item