Creates a KTimer that fires block after delay.
val timer = timer(viewModelScope, 500.milliseconds) { dismiss() }timer.reset() // restart