Improve validation in ContractCallDialog #45