Add code to respect ranking in dialog fields within a multicompositefiel...

...d.