DRY-up modal link generation