 import flash.display.DisplayObjectContainer;
 import flash.events.Event;
 
+import mx.core.FlexGlobals;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.managers.PopUpManager;
 
 import spark.events.PopUpEvent;
+import spark.transitions.SoftKeyboardPopUpTransition;
 
 use namespace mx_internal;
 

        if (!addedToPopUpManager)
        {
            addedToPopUpManager = true;

            // This will create the skin and attach it
            PopUpManager.addPopUp(this, owner, modal);
            
            positionPopUp();
        }

        // Change state *after* we pop up, as the skin needs to go be in the initial "closed"

    //  Properties
    //
    //--------------------------------------------------------------------------
    
    /**
     *  @private
     */
    private var _popUpTransition:SoftKeyboardPopUpTransition;
    
    /**
     *  Read-only access to the SoftKeyboardPopUpTransition.
     * 
     *  @default A SoftKeyboardPopUpTransition instance when
     *           Application.softKeyboardBehavior="none", otherwise null.
     *
     *  @langversion 3.0
     *  @playerversion Flash 11
     *  @playerversion AIR 3
     *  @productversion Flex 4.5.2
     */
    protected function get popUpTransition():SoftKeyboardPopUpTransition
    {
        return _popUpTransition;
    }
    
    //----------------------------------
    //  isOpen
