Create the Reference to the widgetAnnotation, so that it gets referenced
in the Annot[] int the+ (Requires the Annotation Plugin)
function createAnnotationReference(object) {
    var options = {
      type: 'reference',
      object: object
    };

    var findEntry = function findEntry(entry) {
      return entry.type === options.type && entry.object === options.object;
    };

    if (scope.internal.getPageInfo(object.page).pageContext.annotations.find(findEntry) === undefined) {
      scope.internal.getPageInfo(object.page).pageContext.annotations.push(options);
    }
  }