XWIKI-9471: The Color Theme section disappears when I change a property
* Fix edit mode check.