LPS-41218 Use current templateId
LPS-41218 Show global templates in template selector