added Close button to details view