Dialogs cannot have overflow that is hidden.

Set max dimensions and overflow to auto