def _get_button_label(self):
        """Gets Button label from user and returns string"""

        dlg = wx.TextEntryDialog(self, _('Button label:'))

        if dlg.ShowModal() == wx.ID_OK:
            label = dlg.GetValue()
        else:
            label = ""

        dlg.Destroy()

        return label
Gets Button label from user and returns string