added close buttons to overlay containers