diff --git a/src/GM.WPF/GM.WPF.Test/GM.WPF.Test.csproj b/src/GM.WPF/GM.WPF.Test/GM.WPF.Test.csproj
index 16e8357..f0b5e11 100644
--- a/src/GM.WPF/GM.WPF.Test/GM.WPF.Test.csproj
+++ b/src/GM.WPF/GM.WPF.Test/GM.WPF.Test.csproj
@@ -36,28 +36,28 @@
4
-
- ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll
+
+ ..\packages\CommonServiceLocator.2.0.2\lib\net45\CommonServiceLocator.dll
-
- ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Extras.dll
+
+ ..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.dll
-
- ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.Platform.dll
+
+ ..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.Extras.dll
+
+
+ ..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.Platform.dll
..\packages\GM.Utility.1.2.1\lib\netstandard2.0\GM.Utility.dll
-
- ..\packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll
-
-
- ..\packages\PropertyChanged.Fody.2.2.5\lib\net452\PropertyChanged.dll
+
+ ..\packages\PropertyChanged.Fody.2.2.6\lib\net452\PropertyChanged.dll
- ..\packages\MvvmLightLibs.5.3.0.0\lib\net45\System.Windows.Interactivity.dll
+ ..\packages\MvvmLightLibs.5.4.1\lib\net45\System.Windows.Interactivity.dll
@@ -131,11 +131,11 @@
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
+
\ No newline at end of file
diff --git a/src/GM.WPF/GM.WPF.Test/packages.config b/src/GM.WPF/GM.WPF.Test/packages.config
index 1176836..0c5b073 100644
--- a/src/GM.WPF/GM.WPF.Test/packages.config
+++ b/src/GM.WPF/GM.WPF.Test/packages.config
@@ -27,9 +27,9 @@ Created: 2017-11-26
Author: Grega Mohorko
-->
-
-
+
+
-
-
+
+
\ No newline at end of file
diff --git a/src/GM.WPF/GM.WPF/Controls/Dialogs/TaskDialog.cs b/src/GM.WPF/GM.WPF/Controls/Dialogs/TaskDialog.cs
index 69fffb0..a723e97 100644
--- a/src/GM.WPF/GM.WPF/Controls/Dialogs/TaskDialog.cs
+++ b/src/GM.WPF/GM.WPF/Controls/Dialogs/TaskDialog.cs
@@ -47,25 +47,19 @@ public class TaskDialog:Dialog
/// Determines whether the dialog was supposedly cancelled.
///
protected bool WasCancelled { get; private set; }
-
- private AutoResetEvent endNotifier;
+
+ private TaskCompletionSource