fix autoplay with dialog set