Clean way to hide the dom when saving videos