if the HTMLElement has an id, you can use it as a locator rather than the xpath.

CP_Close_Button = ('id', 'close')