Fix action buttons in detail pages