hide the edit panel once changes are submitted