Made buttons that submit forms more generic