When I click off of one popup another opens – don't want it to

I have three active popups. When I click “off” one, I do not want a second popup to immediately appear. How do I stop this from happening? I only want the second popup to appear when the user moves to a second page.