Adding a poll button to the bottom of the composer

wow that seems like an amazing solution. mine is really boring compared to that:

export default {
  actions: {
    showPollBuilderNextToSave() {
$("button[title='Options']").trigger('click')



console.log($("button[title='Options']"))
Ember.run.later((function() {
  $("li[data-value='showPollBuilder']").trigger('click');
    console.log($("li[data-value='showPollBuilder']"))
 
}), 50);

    }
  }
};

I just use jquery to click the button :smiley: maybe there is a better way to find the first selector without hardcoding the options title, in case this would be an issue.