'This is called only from the QV button toggle'

def _hide_quickview(self):

    if self.current_instance:
        if (not self.current_instance.is_closed):
            self.current_instance._reject()
        self.current_instance = None
