Set dialog size.