I'm opening a custom dialog as follows:
private async Task ShowPullTypeDlg()
{
string promptText = await DialogService.PromptAsync(null, "What do you want to do?", new DialogOptions()
{
Width = "500px",
Height = "320px",
AllowDragging=true,
ChildContent = @<etc...>
});
In it, I have some buttons that are not the OK/Cancel buttons.
I want to close the dialog when any of those buttons are clicked.
How do I do that?