wait dialog size change