def on_done(self, paths, relative_to_project, name): if sublime.ok_cancel_dialog('Remove Action: %s?' % name, 'Remove'): run_script(get_path(paths), 'rm_action', name.split(' '))