Define the text of dialog's buttons in atlassian-connect.json

I’ve defined a webItem in atlassian-connect.json which opens a dialog also defined there. Is there any way of defining the text of the dialog’s submit and cancel buttons?