         {
             var ancestor:UIComponent = watchedAncestors.pop();
             
+            ancestor.removeEventListener(FlexEvent.CREATION_COMPLETE, ancestor_creationCompleteHandler);
             ancestor.removeEventListener(MoveEvent.MOVE, ancestor_moveHandler);
             ancestor.removeEventListener(ResizeEvent.RESIZE, ancestor_resizeHandler);
             ancestor.removeEventListener(FlexEvent.SHOW, ancestor_showHandler);

            }
        }
        
        for (i = 0; i < newWatchedAncestors.length; i++)
        {
            var newAncestor:UIComponent = newWatchedAncestors[i];
            

                {
                    newAncestor.addEventListener(PopUpEvent.CLOSE, ancestor_closeHandler, false, 0, true);
                    newAncestor.addEventListener(PopUpEvent.OPEN, ancestor_openHandler, false, 0, true);
                }
                
                if (!newAncestor.initialized && !foundUninitialized)
                {
                    foundUninitialized = true;
                    newAncestor.addEventListener(FlexEvent.CREATION_COMPLETE, ancestor_creationCompleteHandler, false, 0, true);
                }
            }
        }
