from code review, ability to set the dialog size