I developed a unique module with a Magento pop-up feature. I am looking to customize the close event for the pop-up.
<div onclick="Windows.close("browser_window_updatecc", event)" id="browser_window_updatecc_close" class="magento_close"> </div>
Instead of using the default onclick function, I want to replace it with my own custom code for the pop-up close event.