Add basic JS code for showing popup window