working on retrieving name from modal