public static async Task <DeckType?> ShowDeckTypeDialog(this MetroWindow window)
        {
            var dialog = new DeckTypeDialog();
            await window.ShowMetroDialogAsync(dialog);

            var type = await dialog.WaitForButtonPressAsync();

            await window.HideMetroDialogAsync(dialog);

            return(type);
        }
		public static async Task<DeckType?> ShowDeckTypeDialog(this MetroWindow window)
		{
			var dialog = new DeckTypeDialog();
			await window.ShowMetroDialogAsync(dialog);
			var type = await dialog.WaitForButtonPressAsync();
			await window.HideMetroDialogAsync(dialog);
			return type;
		}