Move validateSelectionChange() from Element into ElementEditor