added close button to popup layer