add preview for duplicate feature