Important issue here.
The layout is not defined in the query, and the hidden input 'layout' is not initializated.
I will fix that. It is not easy for me because I volontary removed this 'layout' init for a particular purpose, so I cannot only put it back.
Well, for the moment.
Simple to fix for you.
One solution is to call your page, specifing the layout in the url.
You can also fix it for you :
In the template file, read the form footer. It is a JDom call.
add the 'layout' key with the correct value.
Simple.
Tonight I will correct this.