regress refresh code, handled in file-gallery-media.js