write dyn html to new window