Added close action to config window