video now stops (and goes back to beginning) when you close the dialog box.