dog stands by injured friend