canvas screenshot in pop-up window