Added support for closable tabs.

Signed-off-by: Amrykid <amrykid@gmail.com>