Added maximumDialogWidth so dialog doesn't look odd on iPad