Sets or gets the value returned from the modal dialog window.
p = object.returnValue
the value returned from the window.
This property applies only to windows created by using the showModalDialog method.
For event handler functions, the value of this property takes precedence over values returned by the function, such as through a return statement.