Keyboard Shortcuts enhanced in selecting a template dialog box with better coding style