add dialog on click the image