If you add in externalities of fossil fuels then they become much more expensive.  "Modern" coal is something that some Republican marketing genius with no scientific background made up.  No such thing as modern or clean coal.  Coal is no longer competitive and is dirty no matter how it is branded so give up coal (with regret to all the folks in W. Virginia, Kentucky, Wyoming who used to make a great living mining coal).