The dogs in query have been a pug and a Jack Russell.
Wilson and her companion, Trish Beswick, tried desperately to retrieve the doc however had no luck.
“Each time we tried to retrieve it, we were making it harder and harder,” she recalled. “At long last, I was told about this guy. He said he would come up and have a look at it.
“He did appear and looked quite disconcerting. His hair was down to his shoulders. He didn’t really look as if he knew what he was doing.
“Well, God bless Gary – within half an hour he had got it back for me.”
She added: “He is so lovely, so modest, such a genius. So I put his full name in the book as a dedication.”
Wilson instructed The Telegraph that the incident had taught her a lesson: “Never type whilst on the sofa where the dogs can reach the laptop.”
The writer is an envoy for Battersea Dogs and Cats Home, from the place she adopted a poodle/Patterdale terrier combine named Jackson.
Wilson’s latest novel, written with out mishap, is The Girl Who Wasn’t There. It is a up to date story about two sisters whose lives change after their father buys a folly tower and strikes the household into it on a whim.
One of Britain’s most prolific authors, Wilson has written 118 books, together with the best-selling Tracy Beaker sequence and plenty of set within the Victorian period.
Asked whether she preferred to set her books in modern or period times, the 78-year-old stated: “I do like writing about modern things but it’s easier for me to write about Victorians because there is no technology in Victorian books so I can’t get it wrong.
“It’s so easy in modern times to try really hard to keep up with things and know which social media things are current.
“I am on no social media platform whatsoever. And also I think I know mostly what girls think and what they like to do up to a certain age but then when they become teenagers it all starts to change.
“I don’t want to be in my books like – do you know what ‘dad dancing’ is, when dads think they’re being cool and they’re not? I want to be cool but I don’t want people to think, ‘Poor, sad old thing, she doesn’t get it.’
“So sometimes it’s easy to write Victorians, and I do love the Victorian age.”