      */ 
     private function hideModalWindowRequest(event:Event):void
     {
-        var request:ModalWindowRequest;
+        var request:SWFBridgeRequest;
         
         // If the event is redispatched from the SystemManger it will be
         // marshalled. If the PopUpManager dispatches the event using
         // the sandbox root it will come here directly.
-        if (event is ModalWindowRequest)
-            request = ModalWindowRequest(event);
+        if (event is SWFBridgeRequest)
+            request = SWFBridgeRequest(event);
         else
-            request = ModalWindowRequest.marshal(event);
+            request = SWFBridgeRequest.marshal(event);
 
         var sm:ISystemManager = getTopLevelSystemManager(DisplayObject(ApplicationGlobals.application));
         var sbRoot:DisplayObject = sm.getSandboxRoot();

     */
    private function hideModalWindow(o:PopUpData, destroy:Boolean = false):void
    {
        const popUpStyleClient:IStyleClient = o.owner as IStyleClient;

        var duration:Number = 0;

        var popUpData:PopUpData = new PopUpData();
        popUpData.isRemoteModalWindow = true;
        popUpData.systemManager = sm;
        popUpData.modalTransparency = request.data.transparency;
        
        // disable blur because we can mask the application and blur is not
        // working if we blur the modalWindow.
        popUpData.modalTransparencyBlur = 0; //request.transparencyBlur;
        popUpData.modalTransparencyColor = request.data.transparencyColor;
        popUpData.modalTransparencyDuration = request.data.transparencyDuration;

        // Get the SWFLoader to exclude.
        // The requestor may be a real SWFLoader or a sandbox bridge that 
        // requires a look up to get the SWFLoader. 
        popUpData.exclude = sm.swfBridgeGroup.getChildBridgeProvider(request.requestor) as IUIComponent;
        popUpData.excludeRect = Rectangle(request.data.excludeRect);
        
        if (!popupInfo)
            popupInfo = [];

        popupInfo.push(popUpData);
        
        createModalWindow(null, popUpData, sm.popUpChildren, request.data.show, sm, sbRoot);
    }
    
    /**
