I found out there is no way to do this without using a javascript controller but cant figure out how to do it successfully.
the controller data seems to be isolated to either the main widget ot the modal but i cant get it to cross from one to the other.
Can someone provide a bare bones example of pressing a button to set a value and pop up a modal, then the modal displays the value and has a button to return a different value?