In answer to yur question...No, they are not smart enough to stay away from the dog because it is there and supposed to be there and they will go over a 4' fence if they see her food in her dish and thinks it looks good. You need to make sure they cannot get into the dog's area by putting a top...