Fixed a rare layout error of MessageDialog.
Improved message prompt.