Multiple popup links with them affecting each other
<p>I have created 2 popup dialog box when you click on a link.</p>

<p>What I am trying to do:</p>

<p>If I open one popup and try to open another popup the opened popup box would disappear
Plus when I open them both and click on the close button they both close also the same as click on the link again - how can i separate this??</p>

<p>Here is the example: <a href="http://jsfiddle.net/zidski/ZBfTy/" rel="nofollow">http://jsfiddle.net/zidski/ZBfTy/</a></p>
