How can I pass back some arguments from a window that is closed?
For example Insert file dialog in TinyMCE does this. When file is selected the url is pasted into editor. (The url is passed back to the main window)
I am using Prototype fyi, if that helps.
PS: I rephrased this question to better describe my requirements here.