code: function(e) {
              var $this = $(this),
                  data = $this.data(),
                  opt = data.contextMenu,
                  root = data.contextMenuRoot;
  
              if (root !== opt && root.$layer && root.$layer.is(e.relatedTarget)) {
                  root.$selected && root.$selected.trigger('contextmenu:blur');
                  e.preventDefault();
                  e.stopImmediatePropagation();
                  root.$selected = opt.$selected = opt.$node;
                  return;
              }
              
              $this.trigger('contextmenu:blur');
          }
docs: :hover done manually so key handling is possible