Change how 'dlg' is used to create normalized stings.

If options['dlg'] is an empty string, create a blank line in the normalized string for 'dlg' instead of leaving it out entirely.