temporarily moving setting target blank to after html has been added