Built custom detail dialog for image view page