title: Kendo Confirmation is undefined after clicking on "Cancel" button
body: <p>I saw similar questions but unfortunately did not find an answer I was looking for.</p>
  
  <p>I have Kendo Confirmation dialog that I need to be displayed under a certain condition when clicking on an "Update" button:</p>
  
  <pre><code>&lt;button class="k-button k-primary" id="btnSave" type="button"  @*name="action:Save"*@ onclick="CheckSplitCondition()"&gt;Update&lt;/button&gt;
  
  function CheckSplitCondition()
  {
      var newResolvedAmount = $('#ResolvedAmount').val();
  
      var isSplit;
      var diff = @Model.Amount - newResolvedAmount;
      var msg = "Difference between Resolve Amount and Ticket Amount is:" + diff + ".\nThis Amount is going to be put in newly created ticket.\nPress 'OK' to proceed, press 'Cancel' otherwise.\n";
  
      var dispResult = $("#displayResults");
      if ((Math.abs(newResolvedAmount) &lt;= Math.abs(@Model.Amount)) &amp;&amp; newResolvedAmount != 0) {
          //$("#displayResults").css("display", "block");
          $("#displayResults").kendoConfirm({
              width: "400px",
              title: "Alert",
              closable: true,
              modal: true,
              content: 'Are you sure?',
              okText: "OK"
          }).data("kendoConfirm").result.done(function () { SaveData(); }).fail(function () { alert('2') });
  
      }
      else {
          SaveData();
      }
  }
  </code></pre>
  
  <p>After clicking on "Cancel", confirmation box is not showing and I have <code>JavaScript error</code> telling </p>
  
  <blockquote>
    <p>"Unable to get property 'result' of undefined or null reference"</p>
  </blockquote>
  
  <p>Not sure why that happens.</p>