Zend certified PHP/Magento developer

Is it possible to disable the close button unless the window is focused? (Windows 10)

From time to time, I close the wrong windows by mistake. That is because I want to close the focused (i.e. topmost) window but mistook the close button of another window as the close button of the focused window. Another common case is the focused window looks maximized but actually not. So when I want to close it, I click on the top-right corner of the screen. But because the window is not maximized, I actually click on the close button of another window. So, does it make more sense that when clicking on the close button of an unfocused window, that window should just be focused instead of closed? How can I set Windows 10 in this way?
An example