Happens every time.
Once a variable has been Added and Unset, then the Edit button is correctly greyed out. So the bug only happens on initialization of the Environment widget with an empty set of variables.