Add loading dialog in detail item and photo activity