I\'ve got a JavaScript function that draws a dialog. I\'d like to have it return the value the user specifies.The problem is, the dialog is closed when a user clicks on of two buttons, which have onCl