MDL-38555 forms: Prevent same data submission multiple times.

This disables Submit button when the form has been submitted to
prevent consequent submissions before the page has been loaded.