close overlay implimented