The dog gate must be made only if you have small dogs. A bigger gate means bigger thieves that could enter through it. Well, the big pet might be enough to scare the thief, but it is better to be safe than sorry.
Always close the dog gate closed completely during the night. Besides the fact that your dog might run away, it is possible for unwanted cats and other animals to enter the house through it.