Fixed the image/file views trying to remove the waiting dialog from the wrong display.
Fixed BZ#1026589 - Can't upload particular image to ccms using chrome