If you use the "Code" button in the forum message editor to wrap code tags around your sample XML, it won't get messed up.
Tooltips are designed to be short messages that display when you hover a mouse over them and go away when you move the mouse somewhere else. Bringing up a dialog is a different matter.
You can cause a dialog to be opened when you move the mouse pointer over an area without using tooltips, and in fact, that would make more sense, since otherwise the dialog would probably obscure the tooltip text itself. However, popping open a modal dialog just because the mouse moved over part of the screen can be a bit of a shock to the user, so generally it's better to make the dialog show in response to a mouse click.
Customer surveys are for companies who didn't pay proper attention to begin with.