whole_func_string: function (data, reason) {
              switch (reason) {
              case "cancel":
                  if (onCancel && typeof(onCancel) === "function") {
                      onCancel();
                  }
  
                  break;
              case "done":
                  if (onDone && typeof(onDone) === "function") {
                      onDone(data);
                  }
  
                  break;
              }
          }
func_code_string: function (data, reason) {
              switch (reason) {
              case "cancel":
                  if (onCancel && typeof(onCancel) === "function") {
                      onCancel();
                  }
  
                  break;
              case "done":
                  if (onDone && typeof(onDone) === "function") {
                      onDone(data);
                  }
  
                  break;
              }
          }
func_documentation_string: /*
  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"]
  }