added save+cancel in editor and save+reset in student