hide delete button and edit caption from gallery in profiles page