How to Control Filament Modal with JavaScript and Execute Custom Logic? - Filament