Jquery Dialog 1.12.0 CloseText is visible overlaid on the Icon very irritating

Jquery Dialog 1.12.0 CloseText is visible overlaid on the Icon very irritating

The following script would cause a dialog to be displayed with the text "Close" is overlaid on top of the Cancel icon on the top right corner, which is very irritating. It suppose to be "invisiable" by default theme.

$("#createdialog").dialog({

autoOpen: false,

resizable: true,

modal: true,

width: 850,

});



The workaround we used to is to use the CloseText option

closeText: ""

But why the default behavior has changed ??

Here is the rendered HTML after attaching the dialog to the element