'Click the change button and rename in the popup.'

def rename_option(self, current_name, add_keys):

    self.case.click((u'#change_id_%s' % self.field_name))
    self.switch_to_popup()
    name_input = self.case.browser.find_by_id(u'id_name')
    self.case.assertEquals(name_input[u'value'], current_name)
    self.case.enter_text(u'#id_name', add_keys)
    self.submit()
    self.switch_to_main()
