Fixed problem in modal() and startAccordion()

Reference:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=29432

Like Michael Babker suggested I looked all JHtmlBootstrap's methods and found a similar problem on method startAccordion().