alert response in popup and slideshow pdf