fix closeable tab functionality

Fixes a small typo that was preventing closeable tabs from functioning