attach topic on  enter button fix - dont do anything if no topic found