MADS: Fixes for properly displaying the text of a message dialog