added functionality to close tabs in record viewer, needs to be added to record fill out. fixes #9

Signed-off-by: sarbos <ssarbora@gmail.com>