diff --git a/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml b/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml
index b3f53eb..3b38ce3 100644
--- a/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml
+++ b/demo/Ursa.Demo/Dialogs/CustomDemoDialog.axaml
@@ -12,9 +12,9 @@
mc:Ignorable="d">
-
-
-
+
+
+
@@ -69,9 +69,9 @@
HorizontalAlignment="Right"
Orientation="Horizontal"
Spacing="8">
-
-
-
+
+
+
A
B
diff --git a/demo/Ursa.Demo/Dialogs/DefaultDemoDialogViewModel.cs b/demo/Ursa.Demo/Dialogs/DefaultDemoDialogViewModel.cs
index 46c4b99..19d58f0 100644
--- a/demo/Ursa.Demo/Dialogs/DefaultDemoDialogViewModel.cs
+++ b/demo/Ursa.Demo/Dialogs/DefaultDemoDialogViewModel.cs
@@ -5,7 +5,7 @@ using Irihi.Avalonia.Shared.Contracts;
namespace Ursa.Demo.Dialogs;
-public partial class DefaultDemoDialogViewModel: ObservableObject, IDialogContext
+public partial class DefaultDemoDialogViewModel: ObservableObject
{
public ObservableCollection Cities { get; set; }
[ObservableProperty] private string? _owner;
@@ -21,11 +21,4 @@ public partial class DefaultDemoDialogViewModel: ObservableObject, IDialogContex
"Suzhou", "Tianjin", "Xi'an", "Qingdao", "Dalian"
];
}
-
- public void Close()
- {
- RequestClose?.Invoke(this, null);
- }
-
- public event EventHandler