- Electron version: 1+
- Operating system: All

I'd love to see support for a checkbox with a custom label within message box. In my app, users can delete items from a menu. I want to warn them they're deleting an item. After a little bit of use, this can get obnoxious, so I'd like to have a checkbox labeled "Don't show this again."

atom/browser/api/atom_api_dialog.cc
const std::string& button_label,
                    const base::FilePath& default_path,
                    const file_dialog::Filters& filters,
                    atom::NativeWindow* window,
                    mate::Arguments* args) {
  v8::Local<v8::Value> peek = args->PeekNext();
  file_dialog::SaveDialogCallback callback;
  if (mate::Converter<file_dialog::SaveDialogCallback>::FromV8(args->isolate(),
                                                               peek,
                                                               &callback)) {
    file_dialog::ShowSaveDialog(window, title, button_label, default_path,
                                filters, callback);
  } else {
    base::FilePath path;
    if (file_dialog::ShowSaveDialog(window, title, button_label, default_path,
                                    filters, &path))
      args->Return(path);
  }
}
void Initialize(v8::Local<v8::Object> exports, v8::Local<v8::Value> unused,
                v8::Local<v8::Context> context, void* priv) {
  mate::Dictionary dict(context->GetIsolate(), exports);
  dict.SetMethod("showMessageBox", &ShowMessageBox);
  dict.SetMethod("showErrorBox", &atom::ShowErrorBox);
  dict.SetMethod("showOpenDialog", &ShowOpenDialog);
  dict.SetMethod("showSaveDialog", &ShowSaveDialog);
}
}  
NODE_MODULE_CONTEXT_AWARE_BUILTIN(atom_browser_dialog, Initialize)