AddButtons affects the dialog window width.