fix for minimum size.

dialog box was growing every time it was opened.