Asynchronous behavior of showConfirm dialog

Hi Folks,

While developing the Front-end custom app, I am experiencing an odd behavior when I am trying to call the "showConfirm’ dialog and it renders once a reply is already sent.

Ideally as per the name of the dialog it should work as per it’s name and the selection of Save and Cancel button should decide the further UI actions whether to send a reply or not. Technically the code should proceed synchronously.

Reference Link: Freshworks Developer Docs | Use interface methods

Vibhor Kumar