Added DialEvent and findNearestGate