Fixed interface to new dialog code.