canceling on cancel of progress dialog and pop up if there are 0 results