console context now gets cleared when selected object is disposed