creates new modalCard class instead of assigning the modal to the card class, so I can target the modal specifically