$("#form_<%= singular_table_name %>_modal").remove();
$(".dinamic-content").append('<%%= escape_javascript(render partial: 'form') %>');
$("#form_<%= singular_table_name %>_modal").modal("show");
