WYSIWYG editor shouldn't show a link popup when in code mode

The problem was that the bootrstrap-wysihtml5-0.0.2 doesn't check whether the popup link button is disabled or not. 

The cleanest way to solve this would be to add a check to vendor/javascripts/bootrstrap-wysihtml5-0.0.2.js, but since this is an outer dependency I didn't want to touch it.

Closing the modal immediately seems to work fine. The only other way of doing this (that I see) would be to preBind an event and then call preventPropagation() if the button is disabled...