fixed the closing of the configuration form plugin