bug fixed on dialog dra event.