How to call or load ant d modal from interceptor response based on the response header value in React typescript.