Closes the current tab.

def close_tab(self, *args):
        """Closes the current tab.
        """
        prompt_cfg = self.settings.general.get_int('prompt-on-close-tab')
        self.get_notebook().delete_page_current(prompt=prompt_cfg)