resolve pop up modal and Carousel not working  issue