add autofocus to CookieGiveBox