chamar modal para edição
/* chamar com modal */
$("#myModalLabel").html('<span class="glyphicon glyphicon-plus"></span> Editar Cliente');
$("#ModalItemDetalhe .modal-body").load(urlEdit, {page: $("#frmConsulta #edtPage").val(), gravar:'n', idCliente: $(this).attr('idField')},
function(){
$("#ModalItemDetalhe").modal();
});
/* configurar o tamanho da janela */
$(".modal-wide").on("show.bs.modal", function() {
var height = $(window).height() - 100;
$(this).find(".modal-body").css("max-height", height);
var width = $(window).width() - 200;
$(this).find(".modal-dialog").css("width", width);
$(this).find(".modal-dialog").css("min-width", "600px");
$(this).find(".modal-dialog").css("max-width", "1200px");
});