$('#modalContainer').html('#{j(render("new"))}'); $('#modalContainer').modal();