Antimodals prompt callback

I’m using the AntiModals package (https://github.com/anticoders/meteor-modals) to pop up a prompt when a user tries to delete an item from an articles collection, but I’m struggling to figure out how the callbacks work and there’s no documentation for the package.

Here’s the code:

  AntiModals.prompt({
      title: "Delete article",
      content: "Do you really want to delete this article?",
  }, function(result) {
    console.log(result); //returns null whether I click Okay or Cancel, so the if below is never executed
    if (result) {
      Articles.remove(this._id);
    }
  });

How do I figure out whether the user clicked the Okay or the Cancel button in the modal popup? Anyone familiar with the AntiModals package?