if the session fails to attach successfully (e.g due to an exception in the changeSession event handler) the editor will be left in a state where the user will not be able to enter any text. This should at least cause them to reload the editor.