add unique key prop to child in an array for dialog component