Fixed several small bugs in create dialog