If Zodiac Dragon is removed from the graveyard after the ability triggers but before it resolves, you can’t return it to your hand. Similarly, if a replacement effect has Zodiac Dragon move to a different zone instead of being put into the graveyard, the ability won’t trigger at all.