exmple, refer modal done with new window functionality