             }
         }
 
+        //  Have window, but make it active
+        NSApp.activate(ignoringOtherApps: true)
+        
         if let urlWindow = onWindow {
             alert.beginSheetModal(for: urlWindow, completionHandler: { response in
                 // buttons are accept, cancel, default

            }
        }
        
        if let urlWindow = onWindow {
            alert.beginSheetModal(for: urlWindow, completionHandler: { response in
                // buttons are accept, cancel, default

                alert3rdButton.toolTip = alert3rdtToolTip
            }
        }
        
        //  Have window, but make it active
        NSApp.activate(ignoringOtherApps: true)
        
        if let urlWindow = onWindow {
            alert.beginSheetModal(for: urlWindow, completionHandler: { response in
