retrieve editor state and enable save button - fix #63