Action Modal - inside user menu

I'm trying to add an Action with modal form inside e user menu.

The button appear, but the modal doesn't open

Filament::registerRenderHook(
    PanelsRenderHook::USER_MENU_PROFILE_AFTER,
    fn (): string => Blade::render(
        Action::make('updateAuthCredentials')
            ->modal(true)
            ->color('gray')
            ->icon('heroicon-o-user')
            ->form([

            ])->toHtml()
    )
);


Anyone with some experience?
Was this page helpful?