[Dialog]
// Меню выхода в меню
-DialogName:level_failed
-Event.Keyboard.Esc.Pressed:/*Do NOTHING!*/
-ModalDialog:1
-Position:z-0.54
-FadeInEffect:1
-PauseGame:1

[Sprite]
-Texture:menu_button_small_normal.spr
-Label:MENU.BUTTON.TOMENU.LABEL
-Size: w8 h4
-Position: x-4 y-1.8 z-0.01
-Event.Mouse.Click.Action:TransitionOpenDialog("main_menu","fadeToLevel");
-Event.Mouse.Over.Image:menu_button_small_over.spr
-Event.Mouse.Over.Sound:menu_button_over
-Event.Mouse.Click.Image:menu_button_small_clicked.spr
-Event.Mouse.Click.Sound:menu_button_click
-Event.Mouse.Click.KeyShortcut:${VK_RETURN}

[Sprite]
// Кнопка Выход
-Texture:menu_button_smalli_normal.spr
-Label:MENU.BUTTON.REPLAY.LABEL
-Size: w8 h4
-Position: x4 y-1.8 z-0.01
-Event.Mouse.Click.Action:TransitionOpenDialog(game_GetCurrentLevelName(),"fadeToLevel");
-Event.Mouse.Over.Image:menu_button_smalli_over.spr
-Event.Mouse.Over.Sound:menu_button_over
-Event.Mouse.Click.Image:menu_button_smalli_clicked.spr
-Event.Mouse.Click.Sound:menu_button_click

[Sprite]
// Фон
-Texture:dialog_frame_small.png
-Label:LEVELFAILED.DSC
-Label.Formatting:<dy=1.8>
-Position:z0.01
-Size: w20 h10

[Sprite]
// Фон - зачернение
-Texture:black.png
-Alpha:0.4 t500
-Position: z0.011
-Size: w50 h50