title: $:/plugins/linonetwo/visualization-dashboard/tiddlywiki-ui/Modal/ButtonOpenCreateGaugeModal

\define lingo-base() $:/plugins/linonetwo/visualization-dashboard/language/
\define draft-tiddler() $:/temp/visualization-dashboard/new-gauge

<$button class="button-open-create-gauge-modal-open-create-modal-button">
  <!-- Cleanup the draft state before open modal -->
  <$action-createtiddler $basetitle=<<draft-tiddler>> $overwrite="yes" enabled="yes">
    <$action-sendmessage $message="tm-modal" $param="$:/plugins/linonetwo/visualization-dashboard/tiddlywiki-ui/Modal/CreateGaugeModal"/>
  </$action-createtiddler>
  <<lingo Modal/CreateGaugeModal/Button/Open/Caption>> {{$:/core/images/new-button}}
</$button>