added a modal to the front end