Fix paths and change getFolderListingDialogHtml to getPluginDialogHtml