Added error popup-dialog for search function