Popup Detail edit/delete buttons only appear when they can be used (ie. when there is javascript). This fixes a bug where they would show up in emails.