Disable push buttons at view-mode.
Ignore events from an unselected editor.
Remove an unnecessary event bindig.
Refactor view.viewModel.modeAccordingToButton.