Make config dialog working.