This should accept with enter if dialog can be accepted.