load images when modal is loaded