Fixed more dialog bugs.