Fixed JS Oda.UI.DIalog no title on instantiation

An error would occur when no title was supplied to the dialog widget
during instantiation.