added photos to the modal when you click on a dot