Handling the duration only mode in TE Edit form (osx)