In TemplateUI, the CreateDirectory tab now closed if the user has successfully created a directory