dialog: Avoid dialog cyclic import
In some context, like in Daiquiri tests the standard dialogs can create cyctic import.
This can be replaced by a lazy loaded version.
Still all the dialogs are loaded, it would be better to only lazy load the thing which is needed, but this would require a deeper refactoring.
See also !6314 (merged)