code: function(e) {
              var $this = $(this).closest('.context-menu-item'),
                  data = $this.data(),
                  opt = data.contextMenu,
                  root = data.contextMenuRoot;
  
              root.$selected = opt.$selected = $this;
              root.isInput = opt.isInput = true;
          }
docs: flag that we're inside an input so the key handler can act accordingly