fix: use referer in actions

So when an action is called from a view outside of the context
the user stay on this page.