The Ant Modal component triggers on load event only once on initial load. It doesn't seem to trigger an on unload event at all. The Ant Modal component has an on open change interaction that only seems to trigger when the modal is closed. When inspecting the Modal state, the open state changes as follows:
  • Open - value is Nothing (or false)
  • Closed - value is false
The Dialog component triggers on load and on unload events as expected, when opened and closed. The Dialog component open state changes as follows:
  • Open - value is true
  • Closed - value is false
Made in Plasmic