      *      1. Create a modal window for a local pop up.
      *      2. Create a modal window for a remote pop up. In this case o.owner will be null.
      */
-    private function createModalWindow(parentReference:DisplayObject,
+    mx_internal function createModalWindow(parentReference:DisplayObject,
                                        o:PopUpData,
                                        childrenList:IChildList,
                                        visibleFlag:Boolean,

            var pt:Point;
            var isTopLevelRoot:Boolean;
            var sbRoot:DisplayObject = systemManager.getSandboxRoot();
                                                         
            // Only need to calc the visible rect when the sandbox root is an untrusted application.
            // Otherwise the alert will float over the entire application.
            if (systemManager != sbRoot)
            {
                var request:InterManagerRequest = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST, false, false,
                                                            "isTopLevelRoot");
                sbRoot.dispatchEvent(request);
                isTopLevelRoot = Boolean(request.value);
            }
            else
                isTopLevelRoot = systemManager.isTopLevelRoot();
                        

     *  @private
     *  An array of information about currently active popups
     */
    mx_internal var popupInfo:Array = [];

    //--------------------------------------------------------------------------
    //
