In VE, after save dialog is openned, the minor edit button appears in that dialog too. But I can not operate with it in my VE gadget, because it has no id, class, nothing. I also can not use any class or id of any parent element, because of the same issue. My only choice is $('.ve-ui-mwSaveDialog-checkboxes input:first') which is really not good (what if the order changes in the future?). Please add some id or class for easier gadgets hacking.
Related Gerrit Patches:
|mediawiki/extensions/VisualEditor : master||MWSaveDialog: Give checkboxes a class based on their origin's name|