You have to hatch and place the dragon in a habitat first.
 
Putting a dragon in your inventory is not enough.