trying to make the buttons of the modal work