“Elijah and Moses, who had died, conversed with Jesus at the Transfiguration.”
Elijah, technically, was carried off into heaven. Whatever the case, they were both physically there with Jesus, and Jesus was not praying to them. One would think that if the Catholic dogma was true, Jesus would be praying TO them rather than having them appear in person.