Adjust dialog height