IDEX-514: make empty application state, when editor is closed.