fix initial size of dialog for plugins