disable button in Query.