better prefilling of the edit weight tree dialog