re-hiding buttons to prevent errors, only preventing submit on safari