User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
In your mydialog subclass, override the okpressed() method and get the
text from the two fields, and store them in the subclass. Then do
super.okPressed(). Provide two methods on your subclass to retrieve
those two pieces of text.