Article Template dialog: add listener  to dateText.