Wired up all of the buttons in the details view.