         e.preventDefault()
         if @state.filename[@state.filename.length - 1] == '/'
             @create_folder()
-        else
+        else if @refs.project_new_filename.getValue().split(".").length > 1
             @create_file()
 
     render_header: ->

                        <Input
                            autoFocus
                            ref         = 'project_new_filename'
                            value       = @state.filename
                            type        = 'text'
                            placeholder = 'Name your file, folder, or paste in a link...'
                            onChange    = {=>@setState(filename : @refs.project_new_filename.getValue())} />
                    </form>
                    {if @state.error then @render_error()}
                    <h4 style={color:"#666"}>Select the type</h4>
                    <FileTypeSelector create_file={@create_file} create_folder={@create_folder}>

        projects_store : rtypes.object.isRequired

    getInitialState : ->
        filename : @props.default_filename ? @default_filename()
        warning  : false

    componentWillReceiveProps: (newProps) ->
        if newProps.default_filename != @props.default_filename
