adding modal to images