js/tinymce/plugins/link/plugin.js
function (editor, message, callback) {
      var rng = editor.selection.getRng();

      Delay.setEditorTimeout(editor, function () {
        editor.windowManager.confirm(message, function (state) {
          editor.selection.setRng(rng);
          callback(state);
        });
      });
    }
function (editor, message, callback) {
      var rng = editor.selection.getRng();

      Delay.setEditorTimeout(editor, function () {
        editor.windowManager.confirm(message, function (state) {
          editor.selection.setRng(rng);
          callback(state);
        });
      });
    }
function ( editor , message , callback ) { var rng = editor . selection . getRng ( ) ; Delay . setEditorTimeout ( editor , function ( ) { editor . windowManager . confirm ( message , function ( state ) { editor . selection . setRng ( rng ) ; callback ( state ) ; } ) ; } ) ; }
Delay confirm since onSubmit will move focus
Delay confirm since onSubmit will move focus