[Dialog] fix returned windowsize=1x1 [GTK 3.8+]