added modal dialog for video player