and why would you not do this in the actual event handler in our toolbar-plugin.coffee?