code: function _handleKeydown(e) {
              if (e.keyCode === KeyEvent.DOM_VK_ESCAPE) {
                  e.stopPropagation();
                  e.preventDefault();
                  self.close();
              }
          }
docs: Done this way because ModalBar.js seems to react unreliably when modifying it to handle the escape key - the findbar wasn't getting closed as it should, instead persisting in the background