Getting a pop up box to work in different location