So, I followed a couple of tutorials on TabControl with a Close Button, and I came up with a solution- however, it seems that by pressing the close button, it also
TabControl