WithPopup = Behavior.create({
  initialize: function(controller) {
    var uid  = this.element.readAttribute("slug");
    if (!uid) uid = this.element.readAttribute("uid");
    var name = this.element.readAttribute("name");
    var tip = new Tip(this.element, {
      style: 'darkgrey',
      title: name,
      stem: 'bottomLeft',
      hook: { target: 'topRight', tip: 'bottomLeft' },
      offset: { x: -6, y: 0 },
      width: '350px',
      delay: 0.2,
      ajax: {
        url: "/" + [controller, uid, 'popup'].join('/'),
        options: { method: 'get' }
      }
    });
  }
});