Thanks, Philip, you've given me food for thought, as I've experienced this problem on a number of occassions in RH8 (so the problem is ongoing). My topics are not constrained by a table, but my Master Page does use tables to position things like page titles, version numbers and company logos.
I documented my detaching template saga RH8 'This topic was created from a Master Page and the header or footer has been modified', although at the time I thought it was just me being stupid. Let's hope your bug report pays dividends.
This bug is still happening in Rh8 RoboHelp HTML.
I think it's because I keep topic content within a table of 740 px width. This is to keep consistent appearance in different width / resolution monitors.
I recorded the bug and you can see it on http://www.authorgraphic.co.uk/rh8_bugs/losing_template1.htm
I reported it again today.
I had a look at your video. RoboHelp is not losing the connection to the template. What is happening (at least according to the video you presented) is that for some reason it is sensing a change has been made to the Header or Footer. Because the topic is associated with the Template (or Master Page in RoboHelp 8) it is asking you how it should proceed. When you choose the option to apply the modification to the topic, you are instructing RoboHelp to break the connection to the template.
What you need to be investigating is exactly why it is sensing you have made a change to the Header or Footer. Once you solve that mystery you should not encounter the message that causes you to sever the connection between the Template/Master Page and the Topic.
Helpful and Handy Links