I have had this issue a couple of times.
Do you remember what dragon you were trading?
You can send an email to support@teamlava.com so they can unstick your dragon.
I have found that if I have another dragon ready to trade, I collect the first one then quickly put in the next one to trade and that seems to work.