fix dialogHeight in getOverlayDialog