Trying to make the modal work

Unsuccessful