That's impossible regardless of the program, you cant edit individual layers on .jpeg, .gif, .png, etc files. Always save your work as a .pdn file first and then save as your desired file. That way if you need to make changes later you can re-open the .pdn.