bundles/org.eclipse.orion.client.ui/web/orion/commandRegistry.js
function(node, message, yesString, noString, modal, onConfirm) {
			this._popupDialog(modal,"CONFIRM", node, message, [{label:yesString,callback:onConfirm,type:"ok"},{label:noString,callback:null,type:"cancel"}]);
		}
function(node, message, yesString, noString, modal, onConfirm) {
			this._popupDialog(modal,"CONFIRM", node, message, [{label:yesString,callback:onConfirm,type:"ok"},{label:noString,callback:null,type:"cancel"}]);
		}
function ( node , message , yesString , noString , modal , onConfirm ) { this . _popupDialog ( modal , "CONFIRM" , node , message , [ { label : yesString , callback : onConfirm , type : "ok" } , { label : noString , callback : null , type : "cancel" } ] ) ; }
Open a parameter collector to confirm a command.

@param {DOMElement} node the dom node that is displaying the command
@param {String} message the message to show when confirming the command
@param {String} yesString the label to show on a yes/true choice
@param {String} noString the label to show on a no/false choice
@param {Boolean} modal indicates whether the confirmation prompt should be modal.
@param {Function} onConfirm a function that will be called when the user confirms the command.  The function
will be called with boolean indicating whether the command was confirmed.
Open a parameter collector to confirm a command .