Fixed the bug that i itroduced earlier in TemplateEntity, furthermore changed css so that the delete button for File fields is always visible and clickable.