Added a 'ready' option, which fires when the modal is added to the DOM.