src/vs/workbench/electron-sandbox/parts/dialogs/dialogHandler.ts/NativeDialogHandler/confirm
class NativeDialogHandler:	async confirm(confirmation: IConfirmation): Promise<IConfirmationResult> {
		this.logService.trace('DialogService#confirm', confirmation.message);

		const { options, buttonIndexMap } = this.massageMessageBoxOptions(this.getConfirmOptions(confirmation));

		const result = await this.nativeHostService.showMessageBox(options);
		return {
			confirmed: buttonIndexMap[result.response] === 0 ? true : false,
			checkboxChecked: result.checkboxChecked
		};
	}