show/hide edit based on portlet preference