Fit the size of the boilerplate dialog to the window. bugid:109986