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

Change-Id: I601c49f7dd4fdbec9ef43bddd6e9b99d06f4d445