Hi Kenneth,
I got it working now by using a work-around. What i did is put a cuteeditor instance on the page and set the width and height to 1 (just as with the "Use Cute Editor als image selector"). It works, but I think it's overkill to have an CuteEditor instance on the page while not making any use of it, except for the showDialog function.
I want to have the same modal popup window thru my entire application, but I wondering if I want to instance the Editor everywhere.
I'm going to try to duplicate the popup first. I think the CE popup is made with JQuery Dialog as backbone, so I guess that I just have to fix the styling.
If I get stuck somewhere, I will let you know. It would be nice, just as for the Image Selector, to have some javascript functions outside the CuteEditor class for such cases.
Regards,
Paul