Fixed a bug with forcing dimensions in a dialog.