anchor tag is working to close the modal window and is designed to look like a button. On click it is passing the values the user selected through. Now in the controller I can call the api and store this data.