This forces the popup method to be dependent on com_content.  Replace its call with your `$router` param as defined in the method declaration, and perhaps default that to the default helper in `JHelperRoute`?