fix modal cache