fixes an issue which appeared when renaming dialog => niftyDialog