addAction function called on page load - Filament