Enabled bootstrap3 functionality
Disabled custom modal styles
Some basic backward compatibility

as .modal structure changed, adding in .closest('.modal')