Added modal to mainImage