Go back to previous form from current form

I have used the app global variable , mirroring the approach discussed here: