fix: activate the window after clicking the message