you could look into redisgning your sump with a baffle on the return pump thats smaller, so that if this happens again it will pump a smaller amount of water before going dry there for not overflowing your dt or the overflow box on the dt. or the controller thing that was previosly stated sounds like it would work if it would shut your pump off early, before it pumped itself dry therefor pumping less water to dt and not allowing it to overflow.