As shown in the attached image, the X button to close a popup is partially covered by a border added to the popup