do a callback in case we create a document before we have the transaction_attributes array loaded