             color  : "#ffffff"
             diameter : 16
           style    : "modal-clean-gray"
-          callback : callback
+          callback : ->
+            deleteModal.destroy()
+            callback()
  
   viewAppended: JView::viewAppended
 

      title    : "-"
      callback : =>
        @confirmDelete =>

  confirmDelete:(callback) ->

    @deleteModal = new KDModalView
      title        : "Warning"
      content      : "<div class='modalformline'>Are you sure you want to delete this item?</div>"
      height       : "auto"

class GroupProductListItem extends KDListItemView
  constructor:(options,data)->
    super options, data

    {code} = @getData()

