Changed dialog code to make tools usage easier.