created popup script
set up pop up view