returns true if popup visible
var myPop = new dhtmlXPopup(...); var state = myPop.isVisible(); // true/false