My problem is I want a popup window to close when it loses 'focus'. I tried using the Self.Close() method which works great for closing the window, but I have Form Fields on the page and when I click inside a form field it closes the window because it treats it as losing focus (which I do not want to happen, I only want the pop-up window to close when the user clicks off of it). Anyone have any solutions or suggestions?