.ui-dialog-titlebar-close{ display:none; }
Hey everyone, I found that using .ui-dialog-titlebar { display:none; } rather than .ui-dialog-titlebar-close{ display:none; } removes the titlebar completely and so I don't have to worry about filling the title. Problem solved. Thanks everyone.