name in text field transfers to modal, and vice versa