Liquid sodium is totally fine unless you pour water over it. You have problems with other substances too and it depends what use case and limits you have whether you are willing to go with sodium. For example, filling a big tank with normal gasoline is dangerous without protective atmosphere and other precautions like good grounding because it tends to produce flammable vapors that catch fire easily. Not a problem with sodium. Also, if you happen to spill sodium into water, it neutralizes quickly doing damage only for a short period of time. That cannot be said about any kind of mineral oil, gasoline that has a tendency to destroy ecosystems etc. Last but not least, you can produce sodium metal without begging mostly totalitarian/ authoritarian regimes for natural resources which is the case with the majority of fossil fuels today.
Because of electronics and fine machines we learned a lot about how to make stuff water tight. Sodium is in my opinion mostly much easier to handle than hydrogen, which leaks even through steel, which you have to keep under high pressure to have any kind of decent volumetric energy density or cool to very low temperatures if liquid.
If you used sodium for grid scale storage than you would more or less solve the electricity storage problem and most likely quite cheaply. The great thing about it is, you can store and transport sodium metal easily. Storing power for the winter becomes practical. For stationary stuff in homes or businesses you could probably use sodium too. You could replace old central furnaces with it and instead use the fuel cell and a heat pump perhaps with a small battery and PV to smooth out the peaks. That way you probably wouldn't need to upgrade the last mile of the grid in many places. You could power boats with it. For aviation it doesn't seem that great as you would still have to handle the resulting sodium hydroxide.