on () {
      if (!$('.list-view-pf-create.hidden').length) {
        return;
      }
      var $activeSaveButton = $('.list-view-pf-save:not(:disabled):not(:hidden)');
      if ($activeSaveButton.length) {
        $('#confirmDialog')
          .data('to-edit', $('.list-view-pf-create')).modal('show');
      } else {
        editNewRow();
      }
    });

    function editExistingRow($clickRow) {
      $('.list-view-pf-create').addClass('hidden');
      $('.list-view-pf-editable.active:not(.list-view-pf-cre