press enter to write dt/tag