Made new tabs close on form completion