added hideOnEdit and hideOnNonEdit to uiView