alert dialog after background task to fragment