I have no experience with JQuery UI, so I can't comment.
Profiler output is injected in the page directly before </body>, so it should not have any influence.
It could always be that there is css used by the profiler which may interfere, we tried hard to prefix all classes used by the profiler to avoid collisions, but maybe we missed something?
Either way, it's only cosmetic, and since none of your users should ever have the profiler enabled in the app, this is not much of a problem?
You can easily check with something like Firefox "Inspect Element", just right-click on your modal, inspect it, and check the effective CSS list on the right for entries that are not from your css file(s).