private async void ShowModalPrompt(object sender, RoutedEventArgs e) { bool?result = await DialogFactory.Prompt("Delete item?").Show("RootDialog", ModalWidth); if (result == true) { await DialogFactory.Alert("Item deleted.").Show("RootDialog", ModalWidth); } }