Update layout.md

Change "hide event is hidden" to "hide event is triggered".
Merge pull request #537 from k-j-kleist/patch-1

Fix layout docs