Added popups for inserting links and images