fixed change template dialog