Listen for modal closure or hide modal dismiss button in FreshDesk

Scenario.
There is a case where a user performs some critical operations within a custom FreshDesk modal.

However, during those critical operations the user makes an error and dismisses the modal be clicking on the little “X” in the top left corner.

Question

  • Is there a way to prevent the little dismiss “X” from being clicked?
  • Alternatively, is there a way to listen for the modal being closed?

Hi @Jason,
Good Day! Welcome to the community,

there are no events to prevent the closing dialog

for now, there are no events to listen to for the modal close.

Kindly go through these docs for more reference

https://developers.freshdesk.com/v2/docs/interface-methods/
https://developers.freshdesk.com/v2/docs/instance-method/

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.