modules: add late configuration if module has been added manually before the window creation. closes #1668