I have problem with nested dialogs:
I open the first dialog and await its close:
await dialogService.OpenAsync(...
Within the first dialog I open the second dialog:
dialogService.Open(...
after long-taking action I close the second dialog:
dialogService.Close()
At this moment the code continues after the await statement while the first dialog is still open.
Only OpenAsync() is awaitable.
Yes, I understand the only OpenAsync is awaitable. The problem is that when I programmatically close the second dialog, the first dialog is still open but execution continues after the await as if the first dialog was closed.