The function assumes ownership of the `contacts` argument, thus it should free it also when the user cancels selection of the destination book.
The function assumes ownership of the `contacts` argument, thus it should free it also when the user cancels selection of the destination book.