When the `$:/temp/BAM/Settings` tiddler is first created, it causes everything following the `$tiddler` widget to be refreshed, which triggers the loss-of-focus that you observed. While creating the temporary tiddler on startup certainly does fix this issue, there is another solution that doesn't require a startup action. Just move the `$tiddler` widget AFTER the `$edit-text` widget and add a `tiddler=...` parameter to the `$edit-text` widget, like this:
```
<$edit-text tiddler="$:/temp/BAM/Settings" field="search_draft"/>
<$tiddler tiddler="$:/temp/BAM/Settings">```
Thus, the `$edit-text` widget is no longer subjected to the spontaneous refresh when the temp tiddler is first created, but everything else still works as before.
Another way to achieve this same result is to replace the `$tiddler` widget with
```
<$list filter="$:/temp/BAM/Settings">
```
which has the side effect of setting the `currentTiddler` value to `$:/temp/BAM/Settings`, but doesn't cause the loss-of-focus refresh to be triggered.
enjoy,
-e