Fixed: search window now closes on page-button click