Fix for backbone.modal dependency.