adding styling to control toggling appearance of step/submission-based error UI