trigger("create") for a popup dialog doesn't show it with css

trigger("create") for a popup dialog doesn't show it with css

Hello,

I want to prepend programatically a var which is a popup dialog into a content div. The problem is that when I try to trigger('create') and then to open the popup, it is shown but not with the complete css style, I mean the popup header and the fonts are not right.

The jsfiddle is here:  http://jsfiddle.net/amanz/4VKk2/1/

Can you help me please?

Thanks,
Andrei