Changed EditPopup() to ViewPopup()