added new JS method Zentyal.Dialog.submitForm