Mods. to WPS.Dialog to handle array parameters.