Bug fix(create dialog)