Update layout-elements.md

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