gui: Add dialog to control template options

Signed-off-by: Michael Buesch <m@bues.ch>