Force refresh on page actions

I have an action on the edit page that changes some data on the model, and after that I want to conditionally hide that action and show another one (think publish/unpublish), but even though the form itself seems to refresh, the actions don't. Is there an event I could dispatch to force that?
Was this page helpful?