<div id="clone-to-dialog" class="modal mx-auto" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-lg" style="max-width: 1000px" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title mr-auto">Clone notes to ...</h5>

                <button type="button" class="help-button" title="Help on links" data-help-page="Cloning-notes">?</button>

                <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: 0 !important;">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form id="clone-to-form">
                <div class="modal-body">
                    <h5>Notes to clone</h5>

                    <ul id="clone-to-note-list" style="max-height: 200px; overflow: auto;"></ul>

                    <div class="form-group">
                        <label for="clone-to-note-autocomplete">Target parent note</label>

                        <div class="input-group">
                            <input id="clone-to-note-autocomplete" class="form-control" placeholder="search for note by its name">
                        </div>
                    </div>

                    <div class="form-group" title="Cloned note will be shown in note tree with given prefix">
                        <label for="clone-prefix">Prefix (optional)</label>
                        <input id="clone-prefix" class="form-control" style="width: 100%;">
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-primary">Clone to selected note <kbd>enter</kbd></button>
                </div>
            </form>
        </div>
    </div>
</div>
