From the picture of your sump, it can take much more water without overflowing, which is good.
Turn off the pump! Water from the main tank will still continue to flow over the overflow into the sump for a minute or two, until the water level in the main tank is just at the bottom of the overflow.
Then drain the water, and refill it to the same level, the bottom of the overflow.
Turn on the pump, and after a couple of minutes the tank and sump will balance out again.
You could use valves, but i do not think you need to.