Same as #960, but for simulation editing, see discussion in #2149. So, instead of only a Close-button in the sim editing window, there should be an OK-button to apply the changes, and a Cancel-button to discard them.