TROIA-306 popup is closed after click outside the popup.