def display_popup(self, title, content):
assert isinstance(title, six.text_type)<EOL>assert isinstance(content, six.text_type)<EOL>self.popup_dialog.title = title<EOL>self._popup_textarea.text = content<EOL>self.client_state.display_popup = True<EOL>get_app().layout.focus(self._popup_textarea)<EOL>
Display a pop-up dialog.