[Fixed 1.23][Bug 1.22 Steam] Crash when deleting slot while configure imports is open

I can consistently crash my game if I delete a production facility with the “configure imports” dialog open from the one being deleted.

Video demonstrating :

youtu.be/ALFlVvfiU6E

Thanks, this will be fixed in build 1.23