TTLEditor.java: Actually check TTL value entered before showing dialog.