Bug 1088271 - Give CustomDialog text it's own span

https://bugzilla.mozilla.org/show_bug.cgi?id=1088271
not a nit: can you do a simple assert than the title `textContent.lenght` is > 0 so that we cover the bug's regression, thanks!