fixes #7121 - move smart proxy action buttons to helper

Actually, I guess it will work in one if, if you want I'll move it, but the goal wasn't to change the code here.