Fix window alert for private messages