Diesel cars are popular because they are not much more expensive than their petrol counterparts to buy, you can fill up at any gas station, and the mileage and service intervals are better than petrol engines. A hybrid or electric solution is obviously better for the environment but expensive, impractical, etc. The good thing with diesels, especially modern ones is that they emit very little CO2, although particulates are increased. This is less of a problem with modern diesels, though.
I am still surprised why more people don't use LPG instead - it is reasonably widespread (quite a few petrol stations nowdays sell LPG), conversion costs are not very high, safety is not an issue (thats what they say anyway), and its cheaper per mile than petrol or diesel, while retaining the almost the same engine performance with less emmisions than petrol or diesel.