Close window after opening bookmark