the quick and dirty solution would be that editing the resulting code is a one way street. so, once you edit the code you can't use the graphical interface. it's not a _good_ solution but I guess it's better than not giving the option to users at all