private async void ShowModal() { var result = await _modalService.Display <ModalViewModel, bool>(); if (result) { await Common.Execute(_notificationService, _logger, "wait for 3 seconds", async() => await Task.Delay(TimeSpan.FromSeconds(3))); } }