Rebuild after popups.