I have the similar problem like how to control the Distinguished Element model ON/OFF like <On Click> as so on. ( Because my main model contains <On Click>. When I do not need it to run it still repeat running every time useless.)
I think your question if I met I would achieve it in a not smart way.
For best results, use the Firefox browser..