fixes #7121 - move smart proxy action buttons to helper

why can't this line be added to the above `if puppetca`?