Bugfix: in Firefox submitting the form wasn't working

For some reason only forms that are in the real DOM can be submitted.
Added a template modifier that formats a float.
Cleanup