In order to have either door opening turn on both lights, you need to wire the door switches in parallel. In other words, run a black wire between the black wires on each door switch. That way when either switch closes, (open the door), both lights will come on. Is the dome light coming on when either door opens the way you have it wired now?