added an update button. It works in principle but I am not understanding when things are run and it seems that my attempt to attach the click event happens before the button element is defined in the DOM, thus failing to attach
yes, changing the order of script loading and button definition did the trick and it works now. NOTE: this is very slow and you really should to this in a separate window. To use follow this process: (1) open an appengine permissions page (2) open a new window (3) click on the popup (4) click the updated button (5) close the window with the huge number of tabs (6) click on the popup again.