             
             if (blurAmount)
             {
-                // Ensure we blur the appropriate top level document.
-                var parentApp:Object = ("parentApplication" in o.owner) ? 
-                    (Object(o.owner).parentApplication) : null;
-                    
-                const blur:Blur = new Blur(parentApp ? parentApp : ApplicationGlobals.application);
+                const blur:Blur = new Blur(o.blurTarget);
                 blur.blurXFrom = blur.blurYFrom = blurAmount;
                 blur.blurXTo = blur.blurYTo = 0;
                 blur.duration = duration;

        for (var i:int = 0; i < n; i++)
        {
            var o:PopUpData = popupInfo[i];
            if (o.modalWindow == event.effectInstance.target)
            {
                IUIComponent(o.owner).setVisible(true, true);
                break;

        }
        else
        {
            if (o.owner)
                IUIComponent(o.owner).setVisible(true, true);
            o.modalWindow.visible = true;
        }
    }
