Added max height for dialog box control