model fields

fixed field types
updated primary button on model dialog
updated dialogs to auto focus textbox
updated templates