add notepad window data attr