Close dialog preferences when press enter on player entry.