Passes the button to the action

This removes the need to reach into the `_parentView` to find the
promise, and avoid naming it based on the action
I think this should be set before this conditional. This way if no promise is set the button will also go into a pending state