Add edit action to posts