Class="cm-Dialog-Opener" Fails

I created an addon that replaces some info instead of terms.



I use this line below to replace terms and conditions header


<br />
<a data-ca-target-id="term_dialog_onbilgi" class="cm-dialog-opener">TEST TEXT</a><br />

```<br />
<br />
<br />
There are some texts in terms_and_conditions.override.tpl<br />
```php
<br />
<div id="term_dialog_onbilgi" class="hidden"><br />
<div class="wysiwyg-content"><br />
<div><strong>SOME TEXT</strong></div><br /><br />
</div><br />
</div><br />

```<br />
<br />
When I test it at checkout page, new popup dialog can be opened on the first credit card payment tab, but it can NOT be opened after I click second payment tab.<br />
<br />
FIRST PAYMENT TAB<br />
[img]http://oi57.tinypic.com/34qqrl2.jpg[/img]<br />
WORKS FINE..<br />
<br />
[img]http://oi59.tinypic.com/20zbfo2.jpg[/img]<br />
 <br />
-------------------------------------<br />
<br />
<br />
SECOND PAYMENT TAB<br />
[img]http://i61.tinypic.com/2r5ditw.jpg[/img]<br />
It can't be opened in this tab. When I click on the TEXT TEST link nothing happens, someting fails.  I can't scroll mouse after clicking.<br />
<br />
Anyone has idea?

OK. I found the problem and solution.



Correct usage:


TEXT




And in text you wanna show:

```php


```

SOLVED.

Dear Ooaykac,



Thanks for keeping us informed.



Best regards, Alt-team.