New text field value not getting saved in metadata of workflow?
We had requirement to add new text field in workflow completion dialog as shown below.
/libs/cq/inbox/content/inbox/dialogs/workitemcompletedialog/items/form/items/testTitle


We also updated "inbox.commons.workitem.js" highlighted in bold below and also in screenshot before post call is made.
/libs/cq/inbox/gui/components/inbox/clientlibs/commons/js/inbox.commons.workitem.js
data[("comment-" + taskId)] = $("[name=comment]", "#workitemCompletionDialog").val();
data[("testTitle-" + taskId)] = $("[name=testTitle]", "#workitemCompletionDialog").val();

The new field is not getting stored in metadata. Looks like the changes made in "inbox.commons.workitem.js" is not somehow getting reflected. Even we commented the entire js code, still workflow is getting completed, but new dialog data is not getting stored. Not sure what we are missing here. Can you please help?
Note:
1. For showing purpose have modified directly under libs, but same was tried after extending the files under app
2. Already there is an answer, but not sure that is valid one.