dialog "PauseDlg"
{
    visible      = false;
    xalign       = Parent;
    yalign       = Parent;
    modal        = true;
    
    panel "Background"
    {
        xalign       = Parent;
        yalign       = Parent;
        bgcolor      = 0x880000FF;
    }
    
    anmsound "anmHover"
    {
       reentrant = false;
       file = "Menuhover.ogg";
    }

    button "btnBackToMainMenu"
    {
        extents         = { 800, 600, 230, 149 };
        cursor          = "ButtonHover";
        skinpack        = "Options";
        normalframe     = 10;
        pressedframe    = 9;
        hoverframe      = 8;
        onhover         = >>anmHover.Play;
        unpress         = >>uiscript.OnBack;
    }  
}