title: Kendo UI Child Grid -> Destroy Confirmation Firing Twice on Cancel
body: <p>I have a grid which has a child/sub Grid. It works fine, I can add and remove. However, when I attempt to run the command.destroy, should I press Cancel on the confirmation, it fires again (so I have to press Cancel again). If I choose Confirm, it doesn't popup again and does delete it on first try.</p>
  
  <p>I am unsure whats causing this and I don't think it's my CSHTML but just need a second opinion.</p>
  
  <pre><code>@(Html.Kendo().Grid&lt;ModelA&gt;()
  .Name("Grid")
  
  .Columns(columns =&gt; 
  {
      columns.Bound(o =&gt; o.ID).Width(50);
      columns.Bound(o =&gt; o.Name).Width(300);
      columns.Bound(o =&gt; o.UpdateUser).Width(100);
      columns.Bound(o =&gt; o.UpdateDate).Format("{0:d}").Width(100);
      columns.Command(command =&gt; { command.Edit(); command.Destroy(); });
  
  })
  .ToolBar(toolbar =&gt; toolbar.Create())
  .ClientDetailTemplateId("adTemplate")
  .Pageable()
  .Editable(editable =&gt; editable.Mode(GridEditMode.PopUp).TemplateName("RoleTemplate"))
  .DataSource(dataSource =&gt; dataSource
      .Ajax()
      .Read(read =&gt; read.Action("RoleRead", "Role"))
      .Update(update =&gt; update.Action("RoleUpdate", "Role"))
      .Create(create =&gt; create.Action("RoleCreate", "Role"))
      .Destroy(destroy =&gt; destroy.Action("RoleRemove", "Role"))
      .PageSize(10)
      .Model(model =&gt; 
      {
          model.Id(c =&gt; c.ID);
          model.Field(c =&gt; c.UpdateUser).Editable(false).DefaultValue(Context.User.Identity.Name);
          model.Field(c =&gt; c.UpdateDate).Editable(false).DefaultValue(DateTime.Now);
      })   
      )
  .Sortable()
  .Filterable()
  )  
  
  &lt;script id="adTemplate" type="text/kendo-tmpl"&gt;
      @(Html.Kendo().Grid&lt;ModelAChild&gt;()
              .Name("Roles_#=ID#")
              .Columns(columns =&gt;
              {
                  columns.Bound(s =&gt; s.ActiveDirectoryGroup).Width(500);
                  columns.Command(command =&gt; { command.Destroy(); });
              })
              .ToolBar(toolbar =&gt; toolbar.Create())
              .Editable(editable =&gt; editable.Mode(GridEditMode.PopUp).TemplateName("RoleSecurityTemplate"))
              .DataSource(dataSource =&gt; dataSource
                  .Ajax()
                  .Read(read =&gt; read.Action("RoleReadSecurity", "Role", new { roleID = "#=ID#" }))
                  .Create(create =&gt; create.Action("RoleAddSecurity", "Role", new { roleID = "#=ID#" }))
                  .Destroy(destroy =&gt; destroy.Action("RoleRemoveSecurity", "Role", new { roleID = "#=ID#" }))
                  .Model(model =&gt; 
                      {
                          model.Id(s =&gt; s.ID);
                          model.Field(s =&gt; s.UpdateUser).Editable(false).DefaultValue(Context.User.Identity.Name);
                          model.Field(s =&gt; s.UpdateDate).Editable(false).DefaultValue(DateTime.Now);
                      })    
                      )
              .Pageable()
              .Sortable()
              .ToClientTemplate())
  &lt;/script&gt;
  </code></pre>