Minor fixes around modal-class in template