Is there a way to have a confirmation dialogue on ToggleColumn on table?

I was looking for a confirmation modal for this component but I could not find any? Is it supported, or how could I achieve this?

 Tables\Columns\ToggleColumn::make('availability')
                    ->onColor('success')
                    ->getStateUsing(fn (Product $record) => $record->status == ProductStatus::ACTIVE)
                    ->updateStateUsing(function (Product $record, bool $state) {
                        $record->update([
                            'status' => $state
                                ? ProductStatus::ACTIVE
                                : ProductStatus::PAUSED
                        ]);
                    }),
Was this page helpful?