new behaviour to prevent double clicks on form submit buttons