disabvling details button after detail where show