ate)').removeClass('active');
      $clickRow.addClass('active').find('.list-view-pf-textbox').trigger('select');
    }

    // trigger edit state
    $('.list-view-pf').on('click', '.list-view-pf-edit', function () {
      var $clickRow = $(this).closest('.list-view-pf-editable');
      var $activeSaveButton = $('.list-view-pf-save:not(:disabled):not(:hidden)');
      if ($activeSaveButton.length) {
        $('#confirmDialog')
          .data('to-edit', $clickRow).modal('show');
      } else {
        edit