If you want to capture a single open window, hold Alt while clicking the button. This will capture the currently active window.