Question about popup windows

Heyo, I’m trying to make a popup window with a scrollbar and a close button. I used the “Transitions between external SWF’s” tutorial and I have the buttons programmed to have the windows popup and change when the different buttons are clicked. My dilemma is that I would like to have the option to have a close button on each of the windows so that the user can go back to the home page without having to reload. But when the close button is clicked, the window closes but reopens right away… any ideas?