docs: function handleAdminEvents() {
  
          //listen for clicks that bubble in up in the admin bar
          document.body.addEventListener('click', function (ev) {
  
              if(ev.target.hasAttribute('data-edit-include')) {
                  launchPluginEditor(ev.target);
              } else if(ev.target.hasAttribute('data-add-include')) {
                  launchAddInclude(ev.target);
              }
          });
  
          //intercept link clicks so the parent frame changes
          window.pagespace.interceptLinks = function(ev) {
              if(ev.target.tagName.toUpperCase() === 'A' && ev.target.getAttribute('href').indexOf('/') === 0) {
                  var href = ev.target.getAttribute('href');
                  window.parent.location.assign('/_dashboard#/view-page/preview' + href);
                  ev.preventDefault();
              }
          };
          document.body.addEventListener('click', window.pagespace.interceptLinks);
      }