If I have more than 1 modal on a page, I have to surround the modals in ifs, ajax refresh a surrounding container, and then call toggleModal. This allows me to control which modal is being displayed.
The idea is to add a parameter to toggleModal that takes a widget id so that pages with multiple modals can fire the specific modal that they need.
Thoughts?