Decouple values of submit buttons from redirection location.