If I read this right the "magic" to pass values to the model is to add them to a scope that is shared with the modal.  Is that correct?  If so good find.