hierarchy editor selected items are now cleared when hierarchy editor is
hidden.

Change-Id: I277031d4388eab88372c0a8487973001bc2e0248