automatically select the connection when opening the contextual menu