adds create session observer to create a session before editing