Using $record into beforeCreate() method - Filament