$('#myModal').modal({ remote: '/topic/notes' + topic.id, show: false, keyboard: true }) $('#myModal').modal('show');