There are some dogs who will alert a person that they are going to have a seizure. It is amazing! My DD has epilepsy and one of her dogs often senses a seizure coming and will stand near her and whine. She knows to be in a safe place. This dog was never trained, but she doesn't do it every time either.
People can have serious injury from falling at the start of a seizure. A dog with this ability could be a God send for a small child. I would certainly look into it.