I think the problem is with my JS because I can successfully add the "active" class when clicking the modal button but my JS is not removing the "active" cla