prevent event from being used to enter a newline into editor
Stop keydown events that we handle in dialogs, so no one else tries to handle the keyup
Fix a case when another button than primary is focused and user hits an enter key.
Merge pull request #7493 from adobe/zaggino/fix-enter-dialogs

prevent event from being used to enter a newline into editor