You KNOW you shouldn't have... good. I'll still be obnoxious about it, but it's because I care... if he'd stepped out of a shadow and hit you with a hammer, you'd have not only opened the door for him, but provided him with a gun to use on your wife (if she didn't shoot him first). Mkae him come to you, if he wants someone to get hurt. Then, feel justified in making sure it's HIM that bleeds.
If you didn't call the police, you should have... and still should. The house he tries tonight or tomorrow night might not have good locks, dogs, or a gun... law enforcement attention is still needed, because your would-be intruder is still out there... and rattling the door hard is not the MO of a 'cat burglar', but of a common thug.
Also, it's good to hear that your focus on locks and dogs as preventative measures made the gun ultimately unneeded.
Glad to know you're ok. Stay safe.