Allow enter key to trigger dialog buttons.