Fixed issues with popup notifications.