         if (value == active)
             return;
         
-        super.setActive(value);
-        
         if (value)
         {
             createTopView();

        else
        {
            if (activeView)
            {                
                if ((activeView.destructionPolicy != ContainerDestructionPolicy.NEVER && 
                    destructionPolicy != ContainerDestructionPolicy.NEVER) ||
                    !maintainNavigationStack)

            if (!maintainNavigationStack)
                navigationStack.popToFirstView();
        }
        
        // Call super after the above code so that the view has a chance
        // to be created before its active property is set.
        super.setActive(value);
    }
    
    //----------------------------------
