hide attachments task if attachments are not available.