lightbox change?

Fixing some things in my extendafriend plugin that broke between 1.8.0 and 1.8.1

The lightbox that opens up to display the form worked great in 1.8.0, but in 1.8.1 the form doesn't render properly.  I get something like this:

{"output":"

// some broken html, all due to escaped characters & htmlentities

Enter tags separated by a comma, if a collection exists with a tag name the friend will be added to that collection. If a collection does not exist, one will be created. If you have existing collections, they can be controlled using the appropriate checkboxes.

<\/div>","status":0,"system_messages":{"error":[],"success":[]}}
Can anyone point me in the right direction to rectify this?