Upload-Component shadow-root is missing

I call a dialog with the upload component inside on a certain point of our application and the shadow-root and hence the functionality of the upload component is missing.
If i call the same dialog on another point/view of the application the upload component is correct. After this call, all calls to the component works - also from the first location.
The screenshots shows the corrupt and the working component.

Vaadin 24.3.3

The problem occurs in dev and production mode.

Maybe someone can give me a tip as to what the problem is
image.png
image.png

It seems that the annotation @LoadDependenciesOnStartup to the dialog on the AppShellConfigurator solve the problem.

https://vaadin.com/docs/latest/production/production-build#eager-loading