SP.UI.ModalDialog.close(dialogResult) Method
Applies to: SharePoint Foundation 2010
Closes the most recently opened modal dialog with the specified dialog result.
SP.UI.ModalDialog.close(dialogResult);
Parameters
dialogResult
Type: SP.UI.DialogResult
One of the enumeration values that specifies the result of the modal dialog.
Applies To
Remarks
This override closes a modal dialog that was opened by the SP.UI.ModalDialog.showModalDialog(options) Method. It calls the base class SP.UI.Dialog.close(dialogResult) Method to release the resources associated with the modal dialog.