fix modal for search result loading