refactoring for WHOIS modal view