updated click method to target the close button