Fixed title behaviour of popups.