fix modal refresh