bugfix - remove images on gallery delete action