'Dead' dog wakes up before burial