closing time

added a close tab option but UI won't update