When using the internal gui editor, if you make changes to a program and run it then exit it will not prompt you to save the changes.