uiref / byon -- updated to use keybindings on dialog panel.

Change-Id: Ie4f9cf8b4b77c0d8bc38ea324787170785103b1f
diff --git a/onos-byon-gui/src/main/resources/app/view/byonTopov/byonTopovService.js b/onos-byon-gui/src/main/resources/app/view/byonTopov/byonTopovService.js
index 3b6723c..908010b 100644
--- a/onos-byon-gui/src/main/resources/app/view/byonTopov/byonTopovService.js
+++ b/onos-byon-gui/src/main/resources/app/view/byonTopov/byonTopovService.js
@@ -60,7 +60,8 @@
         tds.openDialog()
             .setTitle('Virtual Networks')
             .addContent(createListContent())
-            .addButton('Close', dClose);
+            .addButton('Close', dClose, 'escape')
+            .bindKeys();
     }
 
     function registerHandlers() {
diff --git a/uiref/src/main/resources/app/view/uiRefTopov/uiRefTopovDemo.js b/uiref/src/main/resources/app/view/uiRefTopov/uiRefTopovDemo.js
index 650e942..39eb0a3 100644
--- a/uiref/src/main/resources/app/view/uiRefTopov/uiRefTopovDemo.js
+++ b/uiref/src/main/resources/app/view/uiRefTopov/uiRefTopovDemo.js
@@ -105,8 +105,9 @@
             tds.openDialog()
                 .setTitle('Process Devices')
                 .addContent(createDialogContent(ctx.devices))
-                .addButton('Cancel', dCancel)
-                .addButton('OK', dOk);
+                .addCancel(dCancel)     // 'esc' key bound to 'Cancel' button
+                .addOk(dOk)             // 'enter' key bound to 'OK' button
+                .bindKeys();
         }
     }
 
@@ -117,7 +118,8 @@
         tds.openDialog()
             .setTitle('A list of stuff')
             .addContent(createListContent())
-            .addButton('Gotcha', dOk);
+            .addButton('Gotcha', dOk, 'enter')  // provide own text and key binding
+            .bindKeys();
     }
 
     // === ---------------------------