Open action modal from dropdown item

I'm probably making some silly mistake but I can't figure out how to open action modal from dropdown list blade component https://filamentphp.com/docs/3.x/support/blade-components/dropdown

The example shows
 <x-filament::dropdown.list.item wire:click="openDeleteModal">
            Delete
        </x-filament::dropdown.list.item>

But what exactly is openDeleteModal supposed to return?
Was this page helpful?