{{define "file-upload-dialog"}}
<!-- File upload dialog -->
<div class="file-upload-dialog" dir="auto">
    <div class="dialog-container">
        <button class="close-dialog" aria-label="Close file upload dialog">
            <i class="fa fa-times"></i>
        </button>
        <h2 class="dialog-title">{{t "toolbar.attachments"}}</h2>
        <div class="error-message"></div>

        <div class="file-upload-tabs">
            <button class="tab-button active" data-tab="upload-tab">{{t "attachments.upload