Bug 1111903 - [Settings] Refactor Dialog Service with l10n best practice...

...s
We should clear the l10n id from the dom element when title is undefined or null, or we will see the title of the previous dialog.