solved delay in product modal