Although it doesn't seem to be a forbidden practice, placing toolbar items in the bottom bar of a modal Sheet (which has its own NavigationStack) triggers massive layout warnings.
The same thing occurs when using the .searchable(...) view modifier inside a Sheet (which affects the bottom bar too).