$('#dialog h3.modal-title').html("<i class='fa fa-money'></i> Lista de precios de venta");
$("#dialog .modal-body-content").html("<%= escape_javascript(render 'list_prices') %>");
$("#dialog").modal("show");

 
// Set focus to the first element
$('#dialog').on('shown.bs.modal', function () {
	  $('.first_input').focus();
  });