Properly hide search dialog after searching for servers when none are found.