how to run javascript after clicking an action - Filament