code: function() {
      var self = this;
      var currentFilter = self.filterStateModel.getActiveFilter();
      var stateBeforeCancel = {
        name: currentFilter.get("name"),
        attributeFilters: currentFilter.get("attributeFilters") ? currentFilter.get("attributeFilters").toJSON() : null
      };
  
      currentFilter.cancelFilter();
  
      self.trigger("filter:cancel", currentFilter.cid, currentFilter, stateBeforeCancel);
    }
docs: Event handler for filter:cancel (fsm)
  @method evtCancelFilter