I just try to attach GIF file to a post. Server attempted or uploaded and rejected the image, but pop up window went blank. After that I seen there is a limitation in dimension of uploaded documents. Resize did the trick.
Point is, after failure to upload document pop up window should not get blank but show some message.
I'm running FF 3.0.8