Let modal use visible:none and restructure code again

Big commit is bad commit. D:
Remove old prints
Serialize tree