Added maximum dialog width and set it to 1000

Now the video dialog width logic is this:
90% but no less/more than min - 160px / max - 1000px
Original (4/9/2012)