re-using dialogs

re-using dialogs


hi, i'm trying to build a web app that makes extensive use of dialogs.
One problem i've been unable to resolve is getting dialogs to
'remember' their position.
Scenario: 1. open dialog. 2. move dialog. 3. close dialog. 4. open
same dialog again in same position as was moved to when closed.
On re-opening a closed dialog the position always reverts to the
initial position called. Would love to know if there is an easy way to
achieve this? If not, a possible new feature would be to enable the
setting of position when calling dialog("open")? Or maybe even a new
option along the lines of 'rememberPosition' in the main dialog init
for easier re-use of dialogs.
any help appreciated! cheers, tony