When entering text into a MessageBox.prompt the enter key should close the message box. I think this should be built into to the toolkit but I can't seem to get this to work even if I put in my own event listeners.

Ok so a feature request would be to have it included by default, but the bug still stands that mb.getTextBox().addKeyListener() does not work to capture the enter key event. Can someone comment on that bug?