prevent double submission glitch with removal of hidden input on first submit