Topo2: Prevent ws evet for summary panel if closed

Change-Id: I6f83a4017ea6af9767b9e58a2fe1520f65b880e0
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js b/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js
index b7e671c..db82ae7 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2SummaryPanel.js
@@ -79,11 +79,19 @@
     function toggle() {
         var on = summaryPanel.el.toggle(),
             verb = on ? 'Show' : 'Hide';
+
         flash.flash(verb + ' Summary Panel');
+
+        if (on) {
+            wss.sendEvent('requestSummary');
+        } else {
+            wss.sendEvent('cancelSummary');
+        }
     }
 
     function destroy() {
         wss.unbindHandlers(handlerMap);
+        wss.sendEvent('cancelSummary');
         summaryPanel.destroy();
     }