added click handler to images in dropzoine