Add pop-up functionality