@@ -93,6 +93,8 @@ function openDynamicStagPopup(_url, initer, title, updateParent, style = '', rep
if(url.indexOf('popupmode') === -1) {
url += (url.indexOf('?') !== -1 ? '&' : '?') + 'popupmode=1';
}
+ // close out any open inline visit-segment
+ $('.note-section.visit-segment.edit').removeClass('edit');
showMask();
window.noMc = true;
$.get(url, (_data) => {