Await dialog ... in Submit

When i click on a row for the update and added the condition:

await DialogService.Confirm("Are you sure you want to update this record?") == true

for saving the edit, so the user can confirm the update, then the grid will not update directly, the grid updates then only when clicking again on a different row.
Without the condition the update is direct visible. Is there another solution for the confirm option?

can you provide a screenshot of current option and required option?

Hi, the screenshot of the call to the edit from a datagrid

the screen shot of the handler (submit)

after the update de dialog is closed, data is saved but not shown, directly.

with the following, the update is done and directly visible in the grid: