Is it possible to tell bootstrap to NOT show the modal, by returning a false to the framework from within the show.bs.modal event?
EDIT:
Using stopPropagation() or simply disable a button is not what I want. I want to process the logic inside show.bs.modal event. Because show/hide the modal is a dynamic decision.
Of course, it is possible to do this logic outside of the event and programatically call $('#modal').show(), if this is the only way.