modal gallerific fix