Add a close button and use same .js class for closing the card