Fixed bug where binds don't fire when just using $.modal('open')