Automatically select first template and refresh dialog upon changing group and disable OK if no templates are available in group
Tabify