adding data img, title, and content to modal box