Javascript How Do You Send Selected Data Back From Modal

Javascript How Do You Send Selected Data Back From Modal