scide: fix closing tool panels on Escape
scide: impl/ref lookup: close dialog when opening documentation for class