ClassifyFragment.resume(): Offer retry if we don't have a real Item ID yet.

And move the AlertDialog code to ClassifyFragment from UiUtils so we can
keep track of the open AlertDialog to avoid showing one on top of another.