dialog confroller fix