Way to "refresh" NodeDialog displaying

Hi everyone!

What I'm trying to do is dynamically add a tab on NodeDialog. The tab contains lots of elements and there is no "space" to show them. Is there a way to resize a dialog so that it fits to new contents?

Thanks for help