Fix for notes dialog not stopping video when dialog is closed