Edgar Markov’s eminence ability is a triggered ability. Edgar must be on the battlefield or in the command zone when you cast another Vampire spell and also as the triggered ability resolves. If it’s on the battlefield or in the command zone when you cast another Vampire spell but leaves that zone before the ability resolves, the ability won’t do anything as it resolves.