I have a carousel with 2 views and 2 html buttons. when i click on the one button i direct to each view based on what view is currently visible. when i click the other button i want to show a pop up window. if i click the first button and change the view and then click the second the pop doesn't show up. if i don't change the view everything works fine.