UP-3550: portlet preferences provided via config mode can be lost when editing existing portlets