Add condition to apply button:primary to submit buttons by default