Floating window check.
I have a portal with a button covering the entire portal row. In order to create a double click to open a floating window to display the extra information within that row I've created a script within the button that on first click records the record ID to a global variable. If another click is made on the same record the script compares the current global record ID with the current record and if it's the same it pops up a window. This works well only if the user accidentally clicks several times you run the risk of having several windows open. If there a way to check if the window is open already?