choose the first of multiple attachments
only add delegated click handler once