jquery ui dialog jumps sometimes

jquery ui dialog jumps sometimes

We have a tool (using jquery ui) which we can load through a bookmark. We use this tool to analyze the websites in our content network.

Now I have the problem that the tool is positioned right on some sites. On other sites it's positioned offset, eg. sometimes at the end of the site or far too right.

I discovered that on the sites where it is positioned wrong jquery ui puts an inline style with "position: relative". When I close the dialog and reload it the inline style has "position: absolute".

On the sites with the right position the inline style has a "position: absolute" from the start. I already tried to give the dialog a "position: absolute" with my css file which didn't fixed the problem at all.

Does somebody have the same problem? How can I solve that matter?