I have a Bootstrap Modal to select events.
If the user clicks on the X button or outside the modal, I would like to send them to the default event.
How can I capture these event
Though is answered in another stack overflow question Bind a function to Twitter Bootstrap Modal Close but for visual feel here is more detailed answer.