Submit button generation

I've changed the generation of submit button and remove the "-" from the disallowed characters.