Add new field in start workflow popup. is it feasible? if yes please share the steps.
There is a requirement to get input from author when he starts workflow similar to existing field "Enter title of workflow", lets say "Author comments" in the red highlighted area shown in below screenshot.

When I debugged for existing field "Enter title of workflow", I see the field input is hardcoded in jsp file and no where I could see the data is stored in AEM after Start workflow button is clicked.

My question: Is it possible to add new field by customizing the jsp and store to AEM. Later pass the new field data from AEM to backend logic to show it in a email sent to approver?
Also is this correct practice to override the out of the box jsp code?