removed $.extend because you can just do $.fn.modal(...) instead