If click to link button, close window.