Add close buttons to popups