Fix minor issues with KVM template editing (TUI-103)