Siphon tube? if the power fails the tank will drain to where ever the tube ends in the tank. You could also extend the tank on one side to house a built in sump that will drastically reduce the amount of plumbing needed and your pump can run much more efficiently. something like this:
You can then place your UGJ in a way that lifts and directs the debris towards the end of the tank where the water flows into the filter. The water flows over your mech filtration then through the bio media and the pump instead of pumping the water up and over just pumps the water through a bulkhead in the partition and right to the outlet jets.