Popup is open even if chat window is foreground
If 'Inform me with a popup window' option is selected for 'receive a message' event, notification popup is shown even if chat window is already foreground and is removed either after timeout or after switching from and back to the chat window.
The proper behaviour would be to not show popup if notification window is foreground (or, at least, if the exact chat tab is foreground).