[fix] [minor] take correct docname when creating contact/address from a previous document