Here's what I would try (just an idea):
View source of page before running the widget and save a copy of it.
View source of page after running the widget and save a copy of it.
Compare the 2 (I use winmerge) for differences in the tags.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.