Modal issue when using Render Hook PAGE_START

Hello.

When I use the Render Hook PAGE_START like this :

FilamentView::registerRenderHook(
            PanelsRenderHook::PAGE_START,
            fn (): View => view('filament.user-profile.warning-unverified-number-banner'),
            scopes: [
                PrivateVehicleResource::class,
                EditProfile::class
            ],
        );


My application don't have modals anymore. Just commenting this render hook makes the modals working again.

If I comment everything in my view (filament.user-profile.warning-unverified-number-banner), the problem remains the same. Am I doing something wrong?
Was this page helpful?