Adds record detail view.