Add `form-submitted` class to forms that have been submitted.