I accidentally deleted a "cube" object from the Modes panel, how do I get it back?

Have you tried closing the entire modes panel, then going into the windows tab scrolling down to modes and reopening a new modes panel ?. I’m still very new UE4 so i’m not positive that will bring it back but it’s worth a try if you haven’t already.