Add type selection to create dialog.

Add missing type selection to create dialog--this in turn lets the
preview code in the frontend "Do The Right Thing (tm)".