- 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/atom_javascript_dialog_manager.cc
content::WebContents* web_contents,
    const GURL& origin_url,
    JavaScriptMessageType message_type,
    const base::string16& message_text,
    const base::string16& default_prompt_text,
    const DialogClosedCallback& callback,
    bool* did_suppress_message) {
  if (message_type != JavaScriptMessageType::JAVASCRIPT_MESSAGE_TYPE_ALERT &&
      message_type != JavaScriptMessageType::JAVASCRIPT_MESSAGE_TYPE_CONFIRM) {
    callback.Run(false, base::string16());
    return;
  }
  std::vector<std::string> buttons = {"OK"};
  if (message_type == JavaScriptMessageType::JAVASCRIPT_MESSAGE_TYPE_CONFIRM) {
    buttons.push_back("Cancel");
  }
  atom::ShowMessageBox(NativeWindow::FromWebContents(web_contents),
                       atom::MessageBoxType::MESSAGE_BOX_TYPE_NONE,
                       buttons,
                       -1,
                       0,
                       atom::MessageBoxOptions::MESSAGE_BOX_NONE,
                       "",
                       base::UTF16ToUTF8(message_text),
                       "",
                       gfx::ImageSkia(),
                       base::Bind(&OnMessageBoxCallback, callback));
}
void AtomJavaScriptDialogManager::RunBeforeUnloadDialog(