BRANCH:4.2-edit1: added a check for the edit mode in work_hours_element_wdg.py