A tale of two moduli spaces: Hilbert schemes of singular curves and moduli of elliptic surfaces