BISERVER-8759 Fixing edit mode enable/disable