Working modal and slideshow together.