Issue #3499970: fix hardcoded view mode value on form and load view mode from correct configuration property.
Closes #3499970