Modeling a Shallow Solar Dynamo