fixes #7061 - show file upload when template is not locked