Added confirmation dialog against empty string in configuration wizard

Also removed unnecessary variables