improve template selection interface