Adding some extra elements to the pop up so it only pops up once