Close the detached video dialog when video is closed
Always update the rendered subtitles for non-dialogue changes

Closes #1770.
Fix saving audio clips

Actually write all of the samples rather than half of them.
deps