Move create to openDialog.