Fixed CreateDialog class

It's now similar to JoinDialog class.