add close button to popups