Removed broken dialog code.