onclick close modal and open popup
<p>We have a Modal Window with a contact form within it.</p>

<p>We have two buttons at the bottom, of the form.</p>

<p>One of which on click opens a separate live chat window ( not modal )</p>

<p>So my issue is onclick of the button ( on the modal window ) I want to open the popup window, ( which we have fully working ) but simultaneously, close the modal window. As it is not needed.</p>

<p>The link code is:</p>

<pre><code>&lt;a href="&lt;?=curPageURL();?&gt;#" onclick="javascript:launchSupport('https://www.somesite.com.au/livechat/chat.php', '200', '200', '510', '440');jQuery.lightbox().close();"&gt;&lt;span class="newSamplePromo"&gt;Live Chat&lt;/span&gt;&lt;/a&gt;
</code></pre>
