Button calls function and disappears when printing.