add interaction toggle example

`else {` on the same line as the preceding closing bracket.