Renamed rootPath to just path, changed dialog message to reflect UI message.