How do I select an element for a modal and also check that it is active using CSS
<p>I have the following code on a  web page for a popup modal:</p>

<pre><code>&lt;div id="ui--modal" data-modalguid="ghostModal-120028622297833437793" class="modules--reportActions-modal ui--modal-active" style="width: 600px; height: 310px; z-index: 2600001; left: 652px; top: 149px;"&gt;
</code></pre>

<p>I am trying to select the modal and verify that its active at the same time using CSS selectors</p>

<p>So far I only have (in C3) <code>c_copyReportPopup = By.CssSelector("#ui--modal")</code></p>

<p>How do I verify that the element is active as well?</p>