Navigation Link: Execute Code Before Transition

I think I got solution from here:

using fullscreen cover