Hi Mike,
It's sort of a bug in the template, and sort of a bug in your example.
The problem is that you have 2 menu items to the browse procedure - the one which is a link, and the one which is the popup. The template bug is that because of the first, it ignores the prep work it needs to do for the second (which I've fixed in 8.13)
the bug in the app is that it's not necessarily a good idea to have this sort of "dual" approach. I understand this is a contrived example, but at this point, even with the bug fix mentioned above, for various internal technical reasons, this "dual" approach is not supported. Call the procedure one way or the other.
cheers
Bruce