Capture enter key in dialog popups properly.
Merge pull request #67 from endesigner/OneZero

Capture enter key in dialog popups properly.