add flash box on cookie