fix source popups behavior