Close the entire accordion when the webpage-details-modal gets closed.