I have a dialog that contains no content on page load and I\'m dynamically setting the content of a dialog box based on the link that a user clicks on.
I had the same problem. Updating the dialog makes it disappear and reappear (and forget its position).
To solve it, I created a wrapper tag around the dialog content.