PyQt dialog - How to make it quit after pressing a button?,btn.clicked.connect(self.close)