UserResource with form() method to define create/edit modal & table with action() with EditAction::make().CheckboxList() and the data is stored in an external DB table.$record->syncPermissions($data['permissions']); to assign these permissions.->after(static function (User $record, array $data) {), but I need this to work the same way when a new record is created?