Fix SIGSEGV in ExoTreeView after view mode change while in click handler.

If click on folder in view leads to view mode change which leads to the
ExoTreeView destroying it is invalid to still use selection data taken
before the click processing.