You're right, it sounds like typical jealousy issues.
Unfortunately I don't have any kids myself so it's hard to understand kids at different ages so bare with me
Perhaps you could get your son involved in training your Doxie, get him to help you teach him things like sit, stay, drop etc.
It will help show your dog that your son is not just someone to be jealous of, he is his master just like you are.