Why would you need to append closing quote or closing paren if  ``this.closeOnSelect``is false (ie.user is inserting a folder and not a filename)?  Are you closing quote and paren for the very first insertion of a folder? If so, I don't think you want to move the cursor after the quote and closing paren since the user still has to select next sub folder or filename.