         if (findFocusManagerContainer(this))
             SystemManager(_systemManager).fireActivatedWindowEvent(this);
     }
-    
-    /**
-     *  @private
-     *  Listens to when our popup has started dragging.
-     *  Expands the mouse catcher to catch all the mouse moves when dragging.
-     */
-    private function startDraggingHandler(event:Event):void
-    {
-        // trace("startDraggingHandler");
-        
-        // Add the mouseCatcher as child 0.
-        if (!mouseCatcher)
-        {
-            mouseCatcher = new FlexSprite();
-            mouseCatcher.name = "mouseCatcher";
-            // Must use addChildAt because a creationComplete handler
-            // can create a dialog and insert it at 0.
-            noTopMostIndex++;
-            $addChildAt(mouseCatcher, 0);   
-            resizeMouseCatcher();
-            if (!topLevel)
-            {
-                mouseCatcher.visible = false;
-                mask = mouseCatcher;
-            }
-        }
-
-        var screen:Rectangle = SystemManager(_systemManager).screen;
-        setActualSize(screen.width, screen.height);
-    }
-    
-    /**
-     *  @private
-     *  Called when dragging has stopped.
-     *  We not reduce the size of the mouse catcher
-     *  so client area may be clicked on.
-     */
-    private function stopDraggingHandler(event:Event):void
-    {
-        // trace("stopDraggingHandler");
-        
-        if (mouseCatcher)
-        {
-            $removeChildAt(0);
-            noTopMostIndex--;
-            mouseCatcher = null;
-        }
-    }
 }
 
 }

		// We are a proxy for a popup - we are the hightest system manager.
        topLevel = true; 
		
        addEventListener("startDragging", startDraggingHandler);
		addEventListener("stopDragging", stopDraggingHandler);
		
		// Capture mouseDown so we can switch top level windows and activate
		// the right focus manager before the components inside start
		// processing the event.
		addEventListener(MouseEvent.MOUSE_DOWN, proxyMouseDownHandler, true); 
	}
	
    //--------------------------------------------------------------------------
    //
    //  Properties

	/**
	 *  @inheritDoc
	 */
	override public function getDefinitionByName(name:String):Object
	{
		return _systemManager.getDefinitionByName(name);
