Test script for displaying popup when document is loaded