[fl8 as2] quick question on the window component close button

I have a dragged instance of a window component on the stage and the close button parameter set to true… but of course when I test the movie the button doesnt work. I know that you have to write a specific event handler to call the deletePopUp() method… but that only works if your window component is created using the popUpManagerl.createPopUp() method… I’ve scoured the help manual and several forums, and havnt found how to close a window component with a dragged instance- does anyone know how to do this?