Close Modal From Child & Parent

In my Filament table, I have a parent modal for cancelling an application, and inside it, I have an extra footer action that opens a child modal to collect remarks. When I cancel from the child modal, the parent modal stays open. How can I close both the child and parent modals automatically after cancelling the child modal?
image.png
Was this page helpful?