changed Zentyal.Dialog.submitForm to use only one hash parameter after the selector