Adding the edit_defaults mode to the portlet