Adjsut dialog size.