Close config window on submit/cancel