Made panel close on channel creation