 	 */
 	private function removePopupRequestHandler(event:Event):void
 	{
-		var popUpRequest:PopUpRequest = PopUpRequest.marshal(event);
+		var popUpRequest:SWFBridgeRequest = SWFBridgeRequest.marshal(event);
 
         if (swfBridgeGroup.parentBridge &&
             SecurityUtil.hasMutualTrustBetweenParentAndChild(this))

		{
			var smp:SystemManagerProxy = SystemManagerProxy(child);
			var f:IFocusManagerContainer = findFocusManagerContainer(smp);
			if (smp && f && canActivateLocalComponent(f))
				event.preventDefault();
		}	
		else if (child is IFocusManagerContainer)
		{
			if (canActivateLocalComponent(child))
				event.preventDefault();
		}
		else if (child is IEventDispatcher)
		{

		}
		
		// add popup as a child of this system manager
        if (!popUpRequest.data.childList || popUpRequest.data.childList == PopUpManagerChildList.PARENT)
            topMost = popUpRequest.data.parent && popUpChildren.contains(popUpRequest.data.parent);
        else
            topMost = (popUpRequest.data.childList == PopUpManagerChildList.POPUP);

        var children:IChildList;
        children = topMost ? popUpChildren : this;
        children.addChild(DisplayObject(popUpRequest.data.window));
        
        if (popUpRequest.data.modal)    
	        numModalWindows++;
        
		// add popup to the list of managed forms
		var remoteForm:RemotePopUp = new RemotePopUp(popUpRequest.data.window, popUpRequest.requestor);
		forms.push(remoteForm);
		
		if (!isTopLevelRoot() && swfBridgeGroup)
		{
			// We've added the popup as far as it can go.
			// Add a placeholder to the top level root application
			var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.ADD_POP_UP_PLACE_HOLDER_REQUEST, false, false, null,
													{ window: popUpRequest.data.window});
			request.requestor = popUpRequest.requestor;
			request.data.placeHolderId = NameUtil.displayObjectToString(DisplayObject(popUpRequest.data.window));
			dispatchEvent(request);
		}
	}
