The dogs, Lola and Comma, were locked up on the porch and were so riled up by the bear that they broke a wooden gate to get out and confront it.
After you see the bear run out of the frame, Lola and Comma chased it up a tree before the pair's owner came to retrieve them.