Only close the topic popup when tapping directly on a link