Focus handling

It shows how the focus handling works, using two different subtemplates.