Listen for modal closure or hide modal dismiss button in FreshDesk

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.


  • 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


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