WrapContent

Height follows the content, up to whatever the dialog itself allows.

Scrollable bodies still scroll: they measure to their content and are clamped by the dialog's own maximum height, so a long list stays scrollable while a short one stops being padded out.