Add functionality to edit galleries (delete/rename images).