SP.UI.Dialog.showClose Property
Applies to: SharePoint Foundation 2010
Gets a value that indicates whether the Close button appears on the dialog.
var value = SP.UI.Dialog.get_showClose();
Property Value
Type: Boolean
true if the Close button appears on the dialog; otherwise, false.