editor: fix flawed conditions for adding acceptEdit/cancelEdit
editor: refactor onblur logic out into dismissActiveEditor

This allows for more consistent application of column.allowDismiss