code: function(){
  	
  		if(this.options.insertWithDialog) {
  			this.datatable.deleteRow(this.selectedRecord);
  			return;
  		}
  		
  		this.addButton.value = inputEx.messages.addButtonText;
  		this.addButton.disabled = false;
  	}
docs: When Failed to Add Row