[PDI-11158] - Build re-usable Browse widget

Added more error handling to add folder, cleaned up unused template.html.