Fix Swing dialog size handling & have it forget sizes between hide &
re-show (since this is typically because it should show new data).