- 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.h
public:
  
  void RunJavaScriptDialog(
      content::WebContents* web_contents,
      const GURL& origin_url,
      content::JavaScriptMessageType javascript_message_type,
      const base::string16& message_text,
      const base::string16& default_prompt_text,
      const DialogClosedCallback& callback,
      bool* did_suppress_message) override;
  void RunBeforeUnloadDialog(
      content::WebContents* web_contents,
      bool is_reload,
      const DialogClosedCallback& callback) override;
  void CancelDialogs(content::WebContents* web_contents,
                     bool suppress_callbacks,
                     bool reset_state) override;
 private:
  static void OnMessageBoxCallback(const DialogClosedCallback& callback,
                                   int code);
};
}  
#endif