23cc4593ea500af7329317e9ce60875dd458233a
kate
  Fri Mar 5 12:12:51 2021 -0800
Rejecting idea of MR exit button here.  Removing useless OK button. refs #26385

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 866047a..f95c187 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -598,39 +598,30 @@
                     str += "</ul>\n";
                 }
             }
             $("#positionDisplayPosition").html(str);
         } else {
             $("#positionDisplayPosition").html(position);
         }
         $(positionDialog).dialog({
                 modal: true,
                 title: "Multi-Region Position Ranges",
                 closeOnEscape: true,
                 resizable: false,
                 autoOpen: false,
                 minWidth: 400,
                 minHeight: 40,
-                buttons: {  
-                    "exit multi-region mode": function() {
-                        $(this).dialog("close");
-                    }
-                },
-
-                open: function () { // Make OK the focus/default action
-                   $(this).parents('.ui-dialog-buttonpane button:eq(0)').focus(); 
-                },
 
                 close: function() {
                     // All exits to dialog should go through this
                     $(imageV2.imgTbl).imgAreaSelect({hide:true});
                     $(this).hide();
                     $('body').css('cursor', ''); // Occasionally wait cursor got left behind
                 }
         });
         $(positionDialog).dialog('open');
     }
 
 };
 
   /////////////////////////////////////
  //// Creating items by dragging /////