<div class="modal hide fade" tabindex="-1">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        {% block header %}
        {% endblock %}
    </div>
    <div class="modal-body">
        {% block content %}
        {% endblock %}
    </div>
    <div class="modal-footer">
        {% block extrabuttons %}{% endblock %}
        <a href="#" data-dismiss="modal" aria-hidden="true" class="btn btn-primary">{% block primarybutton %}{% endblock %}</a>
    </div>
</div>
