I doubt the robber was armed and wanting a confrontation if the dog stopped it, and you heard the door slam so it's not like they would've snuck in without the dog there.
So what I mean is the dude probably would've run away if you came to investigate too
--
I tried to have a fierce rivalry with SuperNiceDog, but he made me look worse than a GameFAQs Contest!