I was just wondering if anyone knows of a way to get a modal panel to recalculate it's position? I've got a modal panel that sits in the middle of the page. Upon clicking a button in the panel, more data appears. If this portion of data is large, it can push some of the modal form off the page.
So what I could really use is a method that I can call to get the modal panel re-centered. I've tried reRendering the panel (hides the panel and then I can't seem to show it with an oncomplete) and can't think of anything else to try apart from that.