Taught popups to apply their position (selected is on top)