code: function (data, reason) {
              switch (reason) {
              case "cancel":
                  if (onCancel && typeof(onCancel) === "function") {
                      onCancel();
                  }
  
                  break;
              case "done":
                  if (onDone && typeof(onDone) === "function") {
                      onDone(data);
                  }
  
                  break;
              }
          }
docs: /*
  options = {
  mode: Single or Multiple or Attribute, // if mode=Attribute, then must specify kind filters
  title: "some string",
  confirmButtonLabel: "some string",
  fields: ["phoneNumbers", "emails", "urls"]
  }