Added Close Video functionality