Set the submit frame hash when rendering

Appending to the submit frame's `src` fails intermittently. Instead, set the
frame hash when rendering the widget template.

Fix #1