Man charged with burglary after allegedly hiding in children's bedroom closet