Added special handler for attachment forms.