add \context { } within layout
support input modes, todo support their contents :)