ECMS-6096 fix UI error when switching to edit mode