Correct small typo on layout-elements.md

`mode` is an attribute on a header panel, not an element