untoggle details view when cancel is  clicked