test dialog height constraints