Fixes #1847: New groups are now destroyed after cancelling the opening of a session file

Change-Id: Ia626883b0ff8beca275c6e4e34cb94feac052142