Change the way we handle form submitting in document template creation modal : allow to use html5 required field behavior