Add requiresConfirmation to custom livewire form when saving

I have a livewire component with a wizard form schema. When saving the form I want to let the user confirm their inputs by using the requiresConfirmation dialog. Is there a way to add it to the save method of the livewire component or directly to the
->submitAction(new HtmlString(Blade::render(<<<BLADE
                <x-filament::button
                    type="submit"
                    size="md"
                >
                    Opslaan
                </x-filament::button>
            BLADE
                )))


Thanks!
Was this page helpful?