     $row.removeClass('active').find('.list-view-pf-save').prop('disabled', true);
      }
    });

    $('#confirmDialog').on('click', '.confirm-dialog-pf-ok', function (e) {
      var $confirm = $(e.delegateTarget);
      var $toEdit = $confirm.data('to-edit');
      $confirm.modal('hide');
      $('.list-view-pf-save:not(:disabled):not(:hidden)').siblings('.list-view-pf-cancel').trigger('click');
      if (!$toEdit) {
        return;
      }
      if ($toEdit.is('.list-view-pf-create')) {
        editNew