update formatting for dialog text