Improvment to dialog text display so that long words do not force text outside the dialog.