function renderIndicatorDialog(indicator) {
  return `<div class="modal fade" id="indicatorSettingsModal" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <form id="indicatorForm" class="form">
          <div class="modal-header">
            <h4 class="modal-title" id="indicatorSettingsModalTitle">${indicator.title}</h4>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
          </div>
          <div class="modal-body">
            <div class="row">${renderIndicatorForm(indicator)}</div>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Close</button>
            <button type="submit" class="btn btn-primary btn-sm" id="addIndicatorButton">Add Indicator</button>
          </div>
        </form>
      </div>
    </div>
  </div>`
}
/**
 * render modal for the indicator settings
 * @param {Object} indicator indicator settings
 */
render modal for the indicator settings
@param {Object} indicator indicator settings
render modal for the indicator settings @param { Object } indicator indicator settings
function renderIndicatorDialog(indicator) {
  return `<div class="modal fade" id="indicatorSettingsModal" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <form id="indicatorForm" class="form">
          <div class="modal-header">
            <h4 class="modal-title" id="indicatorSettingsModalTitle">${indicator.title}</h4>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
          </div>
          <div class="modal-body">
            <div class="row">${renderIndicatorForm(indicator)}</div>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Close</button>
            <button type="submit" class="btn btn-primary btn-sm" id="addIndicatorButton">Add Indicator</button>
          </div>
        </form>
      </div>
    </div>
  </div>`
}
function renderIndicatorDialog ( indicator ) { return ` ${ indicator . title } ${ renderIndicatorForm ( indicator ) } ` }
render modal for the indicator settings
 @param {Object} indicator indicator settings
render modal for the indicator settings @param { Object } indicator indicator settings