IDEA-27486 Make file templates per-project: UI
IDEA-133607 avoid focus callback invocation at unexpected time
register DefaultSourcePositionProvider with order=last