How to Handle Action Modal Cancel

Hi. I am using Actions in a Custom Page in my filament app. I want to modify the behaviour of what happens if a user clicks on an action and the modal loads but he then cancels it. Is that possible?

Actually, I am having an issue that whenever a header action is clicked and modal is closed without completing the action, all the stats and chart widgets disappear from the page.
Was this page helpful?