working on parameter passing between parent and modal, used js to overide default in opening modal