Add dialog for the image activity