Bug in Dialog Class: resizing a dialog causes the dialog not to appear at all.

(NOTE: DO NOT RUN THE LAST TWO STEPS OF THE TEST THROUGH HOTJAVA.)

To reproduce the bug do the following: