Ok..
Hold down Shift, and click on a channel in the switchbar..
It will automatically close the window and part the channel.
Is there a way to disable that?