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