add showChainModal method