Added fallback for token insertion. If token cannot be automatically inserted into template, it appears in a text field.