moved `modal-provider.react` from `web` to `lib`. Also needed to change all the imports calls of `modal-provider.react` to use `lib` instead of `web`
---
Depends on D5370
Linear Task: [[ https://linear.app/comm/issue/ENG-2038/refactor-modal-into-lib | ENG-2038 ]]