Disable push buttons 'replicate-auto' and 'relation-edit-mode' at view-only-mode.
Ignore events from an unselected editor.
Remove an unnecessary event bindig.
Refactor view.viewModel.modeAccordingToButton.