<Ui xmlns="http://www.blizzard.com/wow/ui/">
  <Frame name="Atr_Error_Frame" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="FULLSCREEN_DIALOG" hidden="true">
    <Size><AbsDimension x="340" y="160" /></Size>
    <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="290" y="-190"/></Offset></Anchor></Anchors>

    <Backdrop bgFile="Interface\MERCHANTFRAME\UI-BuyBack-TopLeft" edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
      <BackgroundInsets><AbsInset left="2" right="0" top="2" bottom="2"/></BackgroundInsets>
      <TileSize><AbsValue val="256"/></TileSize>
      <EdgeSize><AbsValue val="32"/></EdgeSize>
    </Backdrop>

    <Scripts>
      <OnLoad>
        self:SetBackdropColor( 0.3, 0.3, 0.7 )
      </OnLoad>
      <OnShow>
        if self.withMask then
          Atr_Mask:Show()
        end
      </OnShow>
      <OnHide>
        if self.withMask then
          Atr_Mask:Hide()
          self.withMask = nil
        end
      </OnHide>
    </Scripts>

    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormal" name="Atr_Error_Text">
          <Anchors>
            <Anchor point="CENTER">
              <Offset>
                <AbsDimension y="20"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>

    <Frames>
      <Button inherits="UIPanelButtonTemplate" text="OKAY">
        <Size><AbsDimension x="60" y="22"/></Size>
        <Anchors>
          <Anchor point="BOTTOM">
            <Offset><AbsDimension  y="20"/></Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_Error_Frame:Hide()</OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
</Ui>