fixes #7121 - move smart proxy action buttons to helper

indentation's two spaces too deep in this method