Wire up all of detail dialog's buttons